Rectangle

Rectangle class

Represents rectangle.

public sealed class Rectangle : Shape

Constructors

Name Description
Rectangle(float, float, float, float) Initializes a new instance of the Rectangle class.

Properties

Name Description
Bottom { get; set; } Gets or sets a float value that indicates the bottom position of the rectangle.
GraphInfo { get; set; } Gets or sets a GraphInfo object that indicates the graph info,such as color, line width,etc.
Height { get; set; } Gets or sets a float value that indicates the height of the rectangle.
Left { get; set; } Gets or sets a float value that indicates the left position of the rectangle.
RoundedCornerRadius { get; set; } Gets or sets a float value that indicates the radius of rectangle corners.
Text { get; set; } Gets or sets a text for shape
Width { get; set; } Gets or sets a float value that indicates the width of the rectangle.

See Also