public class CLineSeparator extends CBlockElement
| Modifier and Type | Class and Description |
|---|---|
static class |
CLineSeparator.CPDFLineType
Line style types for
CLineSeparator. |
elementPtr| Constructor and Description |
|---|
CLineSeparator(long ptr)
Create a line separator element with native pointer.
|
| Modifier and Type | Method and Description |
|---|---|
CColor |
getLineColor()
Get line color.
|
CLineSeparator.CPDFLineType |
getLineType()
Get line type.
|
CUnitValue |
getLineWidth()
Get line width.
|
CElementType |
getType()
Get element type.
|
CLineSeparator |
setLineColor(CColor color)
Set line color (RGBA).
|
CLineSeparator |
setLineType(CLineSeparator.CPDFLineType type)
Set line style type.
|
CLineSeparator |
setLineWidth(CUnitValue _width)
Set line width using unit value.
|
CLineSeparator |
setLineWidth(float _width)
Set line width in points.
|
getHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getWidth, setHeight, setHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddings, setPaddingTop, setVerticalAlignment, setWidth, setWidthaddStyle, getChildren, getStyles, hasProperty, isAbsolute, isEmptydeleteProperty, getProperties, getStrokeColor, getStrokeWidth, hasProperty, setAbsolutePosition, setAbsolutePosition, setBackgroundColor, setBackgroundImage, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setFontColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setHorizontalAlignment, setInlineVerticalAlignment, setOpacity, setStrokeColor, setStrokeWidth, setTextAlignment, setUnderline, setWordSpacingpublic CLineSeparator(long ptr)
ptr - Native line separator pointer/handle.public CElementType getType()
CElementType.ELEMENT_LINE_SEPARATOR.public CLineSeparator setLineWidth(float _width)
_width - Line width value in points.CLineSeparator instance.public CLineSeparator setLineWidth(CUnitValue _width)
_width - Line width as CUnitValue.CLineSeparator instance.public CLineSeparator setLineType(CLineSeparator.CPDFLineType type)
type - Line type.CLineSeparator instance.public CLineSeparator setLineColor(CColor color)
color - Line color.CLineSeparator instance.public CUnitValue getLineWidth()
CUnitValue.public CLineSeparator.CPDFLineType getLineType()
CLineSeparator.CPDFLineType.