Namespace TallComponents.PDF.Shapes
Class RectangleShape
A rectangle drawn using a pen and brush.
The lower-left corner is defined by the X and Y properties of base class Shape.
Syntax
public class RectangleShape
: PathShape
Constructors
RectangleShape()
Create a new rectangle with zero width and height.
RectangleShape(Double,Double)
Creates a new RectangleShape with given start point, width and height.
RectangleShape(Double,Double,Double,Double)
Creates a new RectangleShape with given start point, width and height.
RectangleShape(Double,Double,Double,Double,Pen)
Creates a new RectangleShape with given start point, width, height and pen.
RectangleShape(Double,Double,Double,Double,Pen,Brush)
Creates a new RectangleShape with given start point, width, height, pen and brush.
Properties
Double Height
Height of this rectangle.
Double OriginalX
The X-position of the lower-left corner, as present in the pdf content, without the affect of .
Double OriginalY
The Y-position of the lower-left corner, as present in the pdf content, without the affect of .
Double Width
Width of this rectangle.