public class ClipboardHolder
extends java.lang.Object
Constructor and Description |
---|
ClipboardHolder(Clipboard clipboard)
Create a new instance with the given clipboard.
|
Modifier and Type | Method and Description |
---|---|
PasteBuilder |
createPaste(Extent targetExtent)
Create a builder for an operation to paste this clipboard.
|
Clipboard |
getClipboard()
Get the clipboard.
|
Transform |
getTransform()
Get the transform.
|
void |
setTransform(Transform transform)
Set the transform.
|
public ClipboardHolder(Clipboard clipboard)
clipboard
- the clipboardpublic Clipboard getClipboard()
If there is a transformation applied, the returned clipboard will not contain its effect.
public void setTransform(Transform transform)
transform
- the transformpublic Transform getTransform()
public PasteBuilder createPaste(Extent targetExtent)