Constructor RectangleShape
Namespace TallComponents.PDF.Shapes
Class RectangleShape
Creates a new RectangleShape with given start point, width, height, pen and brush.
Syntax
public
RectangleShape(
Double
x
,
Double
y
,
Double
width
,
Double
height
,
Pen
pen
,
Brush
brush
)
Parameters
Double
x
X-position of the lower-left corner.
Double
y
Y-position of the lower-left corner.
Double
width
Width of this rectangle.
Double
height
Height of this rectangle.
Pen
pen
Used to draw the lines on this rectangle.
Brush
brush
The brush that is used to fill the rectangle.