A rectangle drawn using a pen and brush.
Namespace: TallComponents.PDF.Layout.ShapesAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
[SerializableAttribute] public class RectangleShape : PathShape |
| Visual Basic |
|---|
<SerializableAttribute> _ Public Class RectangleShape _ Inherits PathShape |
Remarks
The lower-left corner is defined by the X and Y properties of base class Shape.
CopyC#
Examples
<shape type="rectangleshape" x="0" y="0" width="25" height="25"> <pen color="green" width="1"/> <brush type="solidbrush" color="blue"/> </shape>
Inheritance Hierarchy
System..::..Object
TallComponents.PDF.Layout..::..Object
TallComponents.PDF.Layout.Shapes..::..Shape
TallComponents.PDF.Layout.Shapes..::..ContentShape
TallComponents.PDF.Layout.Shapes..::..PathShape
TallComponents.PDF.Layout.Shapes..::..RectangleShape
TallComponents.PDF.Layout..::..Object
TallComponents.PDF.Layout.Shapes..::..Shape
TallComponents.PDF.Layout.Shapes..::..ContentShape
TallComponents.PDF.Layout.Shapes..::..PathShape
TallComponents.PDF.Layout.Shapes..::..RectangleShape