Package com.sk89q.worldedit.command
Class FlattenedClipboardTransform
java.lang.Object
com.sk89q.worldedit.command.FlattenedClipboardTransform
Helper class to 'bake' a transform into a clipboard.
This class needs a better name and may need to be made more generic.
-
Method Summary
Modifier and TypeMethodDescriptionCreate an operation to copy from the original clipboard to the given extent.Get the transformed region.static FlattenedClipboardTransform
Create a new instance to bake the transform with.
-
Method Details
-
getTransformedRegion
Get the transformed region.- Returns:
- the transformed region
-
copyTo
Create an operation to copy from the original clipboard to the given extent.- Parameters:
target
- the target- Returns:
- the operation
-
transform
Create a new instance to bake the transform with.- Parameters:
original
- the original clipboardtransform
- the transform- Returns:
- a builder
-