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, setX
visit
clone
getParentProperties, getPropertiesMap, hasProperties
getUUID
getFillValue, getLinePen, getOwnFillValue, setFill
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
LineDirectionEnum getDirectionValue()
LineDirectionEnum
void setDirection(LineDirectionEnum lineDirectionEnum)
lineDirectionEnum
- a value representing one of the line direction constants in LineDirectionEnum
Copyright © 2021 TIBCO Software Inc.. All rights reserved.