public class ContentsCreatorTransformationSettings extends Object implements ContentsCreatorSettings
ContentsCreatorControls
object. This class uses a builder-pattern for the setters to
simplify the use of the setters.Constructor and Description |
---|
ContentsCreatorTransformationSettings() |
Modifier and Type | Method and Description |
---|---|
ContentsCreatorTransformationSettings |
concatenate(AffineTransform transformation)
Concatenates the
AffineTransform kept in the
ContentsCreatorTransformationSettings with the transformation given as parameter for this
method. |
SerializableProcessingSettings |
createSnapshot()
Create a snapshot copy of this instance.
|
boolean |
equals(Object o) |
AffineTransform |
getTransform()
Get the
AffineTransform which is to be applied. |
int |
hashCode() |
void |
setTransform(AffineTransform transformation)
Sets the Transformation to be applied.
|
ContentsCreatorTransformationSettings |
withTransform(AffineTransform transformation)
Sets the Transformation to be applied.
|
public ContentsCreatorTransformationSettings()
public ContentsCreatorTransformationSettings concatenate(AffineTransform transformation)
AffineTransform
kept in the
ContentsCreatorTransformationSettings
with the transformation given as parameter for this
method. This method implements a builder-pattern and returns the object it has been called on.transformation
- the transformation to concatenate. This parameter must not be
null
.ContentsCreatorTransformationSettings
object to allow a builder pattern.IllegalArgumentException
- if the given transformation is null
public AffineTransform getTransform()
AffineTransform
which is to be applied.AffineTransform
to be applied.public void setTransform(AffineTransform transformation)
transformation
- The AffineTransform
to apply. This parameter must not be
null
IllegalArgumentException
- if the given transform is null
public ContentsCreatorTransformationSettings withTransform(AffineTransform transformation)
transformation
- The AffineTransform
to apply. This parameter must not be
null
ContentsCreatorTransformationSettings
object to allow a builder pattern.IllegalArgumentException
- if the given transform is null
public SerializableProcessingSettings createSnapshot()
SerializableProcessingSettings
createSnapshot
in interface ProcessingSettings
createSnapshot
in interface SerializableProcessingSettings
Copyright © 2024 levigo holding gmbh. All rights reserved.