Line
Overview
Line is a class in Aspose.Pdf FOSS for Java.
Inherits from: Shape.
Represents a line (or polyline) drawing shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
positionArray | float[] | Read | Gets the position array of alternating x,y coordinate pairs. |
graphInfo | GraphInfo | Read | Gets the graphic styling properties for this shape. |
text | String | Read | Gets the optional text label associated with this shape. |
Methods
| Signature | Description |
|---|---|
Line(positionArray: float[]) | Creates a new line with the specified position array. |
getPositionArray() → float[] | Gets the position array of alternating x,y coordinate pairs. |
setPositionArray(positionArray: float[]) | Sets the position array of alternating x,y coordinate pairs. |
checkBounds(width: double, height: double) | {@inheritDoc} |
| / | |
getGraphInfo() → GraphInfo | Gets the graphic styling properties for this shape. |
setGraphInfo(graphInfo: GraphInfo) | Sets the graphic styling properties for this shape. |
getText() → String | Gets the optional text label associated with this shape. |
setText(text: String) | Sets the optional text label associated with this shape. |