Class Rectangle
Represents an operator that specifies drawing a simple, thick, or filled rectangle with the specified origin and size.
public class Rectangle : CanvasElement
- Inheritance
-
Rectangle
- Inherited Members
Properties
- Color
Gets or sets the color of the rectangle.
- LineType
Gets or sets a value specifying the line drawing algorithm used to draw the rectangle outline.
- Origin
Gets or sets the coordinates of the top-left corner of the rectangle.
- Shift
Gets or sets the number of fractional bits in the rectangle coordinates.
- Size
Gets or sets the size of the rectangle.
- Thickness
Gets or sets the thickness of the rectangle outline, if positive. Otherwise, indicates that the rectangle should be filled.
Methods
- GetRenderer()
Returns the rectangle drawing operation.