A rectangle drawn using a pen and brush.

Namespace: TallComponents.PDF.Layout.Shapes
Assembly: 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.

Examples

CopyC#
<shape type="rectangleshape" x="0" y="0" width="25" height="25">
    <pen color="green" width="1"/>
  <brush type="solidbrush" color="blue"/>
</shape>

Inheritance Hierarchy

See Also