public interface JRLine extends JRGraphicElement
x, y, width, and
height attributes specified for this element.
The direction attribute (see getDirectionValue()) determines which
one of the two diagonals of the rectangle should be drawn:
TopDown - draws a diagonal line from the top-left corner of the
rectangle to the bottom-right corner.BottomUp - draws a diagonal line from the bottom-left corner to the
upper-right corner.width="1" and horizontal lines by setting
height="1". For vertical lines, the direction is not important.| Modifier and Type | Method and Description |
|---|---|
LineDirectionEnum |
getDirectionValue()
Gets the line direction.
|
void |
setDirection(LineDirectionEnum lineDirectionEnum)
Sets the line direction.
|
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setXvisitclonegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetFillValue, getLinePen, getOwnFillValue, setFillgetBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultLineColor, getDefaultLineWidthgetDefaultStyleProvider, getStyle, getStyleNameReferenceLineDirectionEnum getDirectionValue()
LineDirectionEnumvoid setDirection(LineDirectionEnum lineDirectionEnum)
lineDirectionEnum - a value representing one of the line direction constants in LineDirectionEnumCopyright © 2017. All rights reserved.