Line

Line

The Line element defines a report object used to draw lines on a report.

<!ELEMENT Line EMPTY>
<!ATTLIST Line
     X1     CDATA #REQUIRED
     Y1     CDATA #REQUIRED
     X2     CDATA #REQUIRED
     Y2     CDATA #REQUIRED
     Width  CDATA #REQUIRED
     Color  CDATA #REQUIRED
     Style  CDATA #REQUIRED>
Attributes
X1

Sets the starting x coordinate for the line.

Y1

Sets the starting y coordinate for the line.

X2

Sets the ending x coordinate for the line.

Y2

Sets the width of the line

Color

Sets the color of the line. The color is defined as an RGB value (r,g,b). r, g and b must be in the range 0..255.

Style

Sets the drawing style for the line.

ValueLine Style
1Solid
2Dash
3Dot
4Dash Dot
5Dash Dot Dot
KDE Logo