Package com.dynamicpdf.api
Class LineStyle
java.lang.Object
com.dynamicpdf.api.LineStyle
Represents a style of line.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic LineStylegetDash()Gets a dashed line.static LineStyleGets a line with large dashes.static LineStyleGets a line with small dashes.static LineStylegetDots()Gets a dotted line.static LineStylegetNone()Gets a invisible line.static LineStylegetSolid()Gets a solid line. 
- 
Constructor Details
- 
LineStyle
public LineStyle(float[] dashArray, float dashPhase)Initializes a new instance of theLineStyleclass.- 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.
 
 
 -