public class AreaBreak extends AbstractElement<AreaBreak>
PageSize
is given, the new content area will have the same size as the current one.
Modifier and Type | Field and Description |
---|---|
protected PageSize |
pageSize |
childElements, nextRenderer, styles
properties
Constructor and Description |
---|
AreaBreak()
Creates an AreaBreak.
|
AreaBreak(AreaBreakType areaBreakType)
Creates an AreaBreak that terminates a specified area type.
|
AreaBreak(PageSize pageSize)
Creates an AreaBreak.
|
Modifier and Type | Method and Description |
---|---|
PageSize |
getPageSize()
Gets the page size.
|
AreaBreakType |
getType()
Gets the type of area that this AreaBreak will terminate.
|
protected IRenderer |
makeNewRenderer() |
void |
setPageSize(PageSize pageSize)
Sets the page size.
|
addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumber
deleteOwnProperty, getDefaultProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFont, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteOwnProperty, getDefaultProperty, getOwnProperty, hasOwnProperty, setProperty
protected PageSize pageSize
public AreaBreak()
public AreaBreak(AreaBreakType areaBreakType)
areaBreakType
- an area break type
public AreaBreak(PageSize pageSize)
pageSize
- the size of the new content area
public PageSize getPageSize()
page size
of the next content area.
public void setPageSize(PageSize pageSize)
pageSize
- the new page size
of the next content area.
public AreaBreakType getType()
area break type
protected IRenderer makeNewRenderer()
makeNewRenderer
in class AbstractElement<AreaBreak>
Copyright © 1998–2023 iText Group NV. All rights reserved.