Package com.dynamicpdf.api
Class LineStyle
java.lang.Object
com.dynamicpdf.api.LineStyle
Represents a style of line.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LineStyle
getDash()
Gets a dashed line.static LineStyle
Gets a line with large dashes.static LineStyle
Gets a line with small dashes.static LineStyle
getDots()
Gets a dotted line.static LineStyle
getNone()
Gets a invisible line.static LineStyle
getSolid()
Gets a solid line.
-
Constructor Details
-
LineStyle
public LineStyle(float[] dashArray, float dashPhase)Initializes a new instance of theLineStyle
class.- Parameters:
dashArray
- The array specifying the line style.dashPhase
- The phase of the line style.
-
LineStyle
public LineStyle(float[] dashArray)- Parameters:
dashArray
- The array specifying the line style.
-
-
Method Details
-
getLineStyleString
- Returns:
- The array specifying the line style.
-
getSolid
Gets a solid line.- Returns:
- A solid line.
-
getDots
Gets a dotted line.- Returns:
- A dotted line.
-
getDashSmall
Gets a line with small dashes.- Returns:
- A line with small dashes.
-
getDash
Gets a dashed line.- Returns:
- A dashed line.
-
getDashLarge
Gets a line with large dashes.- Returns:
- A line with large dashes.
-
getNone
Gets a invisible line.- Returns:
- A invisible line.
-