Creates a new RectangleShape with given startpoint, width, height, pen and brush.
Namespace: TallComponents.PDF.Layout.ShapesAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
public RectangleShape( double x, double y, double width, double height, Pen pen, Brush brush ) |
| Visual Basic |
|---|
Public Sub New ( _ x As Double, _ y As Double, _ width As Double, _ height As Double, _ pen As Pen, _ brush As Brush _ ) |
Parameters
- x
- Type: System..::..Double
X-position of the lower-left corner.
- y
- Type: System..::..Double
Y-position of the lower-left corner.
- width
- Type: System..::..Double
Width of this rectangle.
- height
- Type: System..::..Double
Height of this rectangle.
- pen
- Type: TallComponents.PDF.Layout.Pens..::..Pen
Used to draw the lines on this rectangle.
- brush
- Type: TallComponents.PDF.Layout.Brushes..::..Brush
The brush that is used to fill the rectangle.