Class DashedLine
Implementation of ILineDrawer which draws a dashed horizontal line over the middle of the specified rectangle.
public class DashedLine : ILineDrawer
- Inheritance
-
DashedLine
- Implements
- Inherited Members
Constructors
DashedLine()
public DashedLine()
DashedLine(float)
Creates an instance of DashedLine with the specified line width.
public DashedLine(float lineWidth)
Parameters
lineWidth
floatthe line width
Methods
Draw(PdfCanvas, Rectangle)
public virtual void Draw(PdfCanvas canvas, Rectangle drawArea)
Parameters
GetColor()
public virtual Color GetColor()
Returns
GetLineWidth()
Gets line width in points.
public virtual float GetLineWidth()
Returns
- float
line thickness
SetColor(Color)
public virtual void SetColor(Color color)
Parameters
color
Color
SetLineWidth(float)
Sets line width in points.
public virtual void SetLineWidth(float lineWidth)
Parameters
lineWidth
floatnew line width