Class SolidLine
Implementation of ILineDrawer which draws a solid horizontal line along the bottom edge of the specified rectangle.
public class SolidLine : ILineDrawer
- Inheritance
-
SolidLine
- Implements
- Inherited Members
Constructors
SolidLine()
Constructs an instance of solid line drawer
public SolidLine()
SolidLine(float)
Constructs an instance of solid line drawer with the specified line thickness
public SolidLine(float lineWidth)
Parameters
lineWidth
floatline 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