Class Rectangle
Rectangle object.
Inherited Members
Namespace: Advanced.Algorithms.Geometry
Assembly: Advanced.Algorithms.dll
Syntax
public class Rectangle
Constructors
Rectangle()
Declaration
public Rectangle()
Rectangle(Point, Point)
Declaration
public Rectangle(Point leftTop, Point rightBottom)
Parameters
Type | Name | Description |
---|---|---|
Point | leftTop | |
Point | rightBottom |
Properties
LeftTop
Declaration
public Point LeftTop { get; set; }
Property Value
Type | Description |
---|---|
Point |
RightBottom
Declaration
public Point RightBottom { get; set; }
Property Value
Type | Description |
---|---|
Point |
Methods
ToPolygon()
Declaration
public Polygon ToPolygon()
Returns
Type | Description |
---|---|
Polygon |