DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class LineStyle

java.lang.Object
  extended by com.cete.dynamicpdf.LineStyle

public class LineStyle
extends java.lang.Object

Class represents a style of line.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.


Constructor Summary
  LineStyle(float[] dashArray)
          Initializes a new instance of the LineStyle class.
  LineStyle(float[] dashArray, float dashPhase)
          Initializes a new instance of the LineStyle class.
protected LineStyle(java.lang.String lineStyle)
          Initializes a new instance of the LineStyle class.
 
Method Summary
static LineStyle getDash()
          Gets a dashed line.
static LineStyle getDashLarge()
          Gets a line with large dashes.
static LineStyle getDashSmall()
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineStyle

public LineStyle(float[] dashArray,
                 float dashPhase)
Initializes a new instance of the LineStyle class.

Parameters:
dashArray - The array specifying the line style.
dashPhase - The phase of the line style.
See Also:
LineStyle

LineStyle

public LineStyle(float[] dashArray)
Initializes a new instance of the LineStyle class.

Parameters:
dashArray - The array specifying the line style.
See Also:
LineStyle

LineStyle

protected LineStyle(java.lang.String lineStyle)
Initializes a new instance of the LineStyle class.

Parameters:
lineStyle - String specifying the line style.
See Also:
LineStyle
Method Detail

getSolid

public static LineStyle getSolid()
Gets a solid line.

Returns:
the solid line.

getDots

public static LineStyle getDots()
Gets a dotted line.

Returns:
the dotted line.

getDashSmall

public static LineStyle getDashSmall()
Gets a line with small dashes.

Returns:
the line with small dashes.

getDash

public static LineStyle getDash()
Gets a dashed line.

Returns:
a dashed line

getDashLarge

public static LineStyle getDashLarge()
Gets a line with large dashes.

Returns:
a line with large dashes.

getNone

public static LineStyle getNone()
Gets a invisible line.

Returns:
a invisible line.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software