Class RectangleProjectedShape

RectangleProjectedShape class

Represents a shape which is projected over rectangle turned to a particular orientation. Specified by four points which can be rotated in space maintaining the same edges length and 90 degrees between adjacent edges.

public abstract class RectangleProjectedShape : Shape

Constructors

NameDescription
RectangleProjectedShape()Initializes a new instance of the RectangleProjectedShape class.
RectangleProjectedShape(RectangleF)Initializes a new instance of the RectangleProjectedShape class.

Properties

NameDescription
override Bounds { get; }Gets the object’s bounds.
override Center { get; }Gets the shape’s center.
override HasSegments { get; }Gets a value indicating whether shape has segments.
LeftBottom { get; }Gets the left bottom rectangle point.
LeftTop { get; }Gets the left top rectangle point.
RectangleHeight { get; }Gets the rectangle height.
RectangleWidth { get; }Gets the rectangle width.
RightBottom { get; }Gets the right bottom rectangle point.
RightTop { get; }Gets the right top rectangle point.
abstract Segments { get; }Gets the shape segments.

Methods

NameDescription
override GetBounds(Matrix)Gets the object’s bounds.
override GetBounds(Matrix, Pen)Gets the object’s bounds.
override Transform(Matrix)Applies the specified transformation to the shape.

See Also