C# Class HasK.Controls.Graph.DRect

Graphical 2D rectangle with double coordinates
Show file Open project: xHasKx/CSharp.Controls.Graph.Chart Class Usage Examples

Public Properties

Property Type Description
Height double
Width double
X double
Y double

Public Methods

Method Description
DRect ( double x, double y, double width, double height ) : System

Create graphical 2D rectangle

ToString ( ) : string

Convert DRect object to string representation

Method Details

DRect() public method

Create graphical 2D rectangle
public DRect ( double x, double y, double width, double height ) : System
x double X coordinate of left-top corner
y double Y coordinate of left-top corner
width double Width of rectangle
height double Height of rectangle
return System

ToString() public method

Convert DRect object to string representation
public ToString ( ) : string
return string

Property Details

Height public property

Height of rectangle
public double Height
return double

Width public property

Width of rectangle
public double Width
return double

X public property

X coordinate of left-top corner
public double X
return double

Y public property

Y coordinate of left-top corner
public double Y
return double