C# Class InTheHand.Foundation.Rect

Contains number values that represent the location and size of a rectangle.
Show file Open project: inthehand/Charming Class Usage Examples

Public Methods

Method Description
Rect ( double x, double y, double width, double height )

Initializes a Rect structure that has the specified x-coordinate, y-coordinate, width, and height.

Method Details

Rect() public method

Initializes a Rect structure that has the specified x-coordinate, y-coordinate, width, and height.
public Rect ( double x, double y, double width, double height )
x double The x-coordinate of the top-left corner of the rectangle.
y double The y-coordinate of the top-left corner of the rectangle.
width double The width of the rectangle.
height double The height of the rectangle.