public class KeepPartAndCloneSolidObjectToNextPageAlgorithm extends PageSplittingAlgorithm
Adds object's top part to the bottom of the page and clones full object to the next page in case it doesn't fit in original page.
Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART
The default max size of cloned part.
|
Constructor and Description |
---|
KeepPartAndCloneSolidObjectToNextPageAlgorithm()
Initializes a new instance of the
KeepPartAndCloneSolidObjectToNextPageAlgorithm class, using default height limit of cloned part. |
KeepPartAndCloneSolidObjectToNextPageAlgorithm(float heightLimitOfClonedPart)
Initializes a new instance of the
KeepPartAndCloneSolidObjectToNextPageAlgorithm class, using specific height limit of cloned part. |
Modifier and Type | Method and Description |
---|---|
float |
getHeightLimitOfClonedPart()
Gets the height limit of cloned part.
|
public static final float DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART
The default max size of cloned part.
public KeepPartAndCloneSolidObjectToNextPageAlgorithm()
Initializes a new instance of the KeepPartAndCloneSolidObjectToNextPageAlgorithm
class, using default height limit of cloned part.
public KeepPartAndCloneSolidObjectToNextPageAlgorithm(float heightLimitOfClonedPart)
Initializes a new instance of the KeepPartAndCloneSolidObjectToNextPageAlgorithm
class, using specific height limit of cloned part.
heightLimitOfClonedPart
- The max height of cloned part.