C# Class HasK.Controls.Graph.DPoint

Graphical 2D point with double coordinates
Show file Open project: xHasKx/CSharp.Controls.Graph.Chart

Public Properties

Property Type Description
X double
Y double

Public Methods

Method Description
DPoint ( double x, double y ) : System

Create graphical 2D point

InRect ( DRect rect ) : bool

Checks if point in rect

ToString ( ) : string

Convert DPoint object to string representation

Method Details

DPoint() public method

Create graphical 2D point
public DPoint ( double x, double y ) : System
x double The X-coordinate of point
y double The Y-coordinate of point
return System

InRect() public method

Checks if point in rect
public InRect ( DRect rect ) : bool
rect DRect
return bool

ToString() public method

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

Property Details

X public property

The X-coordinate of point
public double X
return double

Y public property

The Y-coordinate of point
public double Y
return double