[]
Represents an ordered pair of integer x- and y-coordinates that defines a point in a 2D plane.
[TypeConverter(typeof(Point2d.Converter))]
public sealed class Point2d : Item, IGraphItem, ICloneable, IGraphXmlSerializable
Name | Description |
---|---|
Point2d() | Initializes new instance of the Point2d class. |
Point2d(PointF) | Initializes new instance of the Point2d class |
Point2d(float, float) | Initializes new instance of the Point2d class. |
Point2d(string) | For internal use only. |
Point2d(string, GraphXmlSerializationContext) | For internal use only. |
Name | Description |
---|---|
IsDirty | Overridden . Specifies whether object should be redrawn.
|
Length | Gets vector length |
X | Gets or sets point's x coordinate |
Y | Gets or sets point's y coordinate |
Name | Description |
---|---|
Clone() | Overridden .
|
Equals(object) | Compare the CLASS_NAME object to another System.Object and check if the two are equal. |
GetHashCode() | It functions as a hash function for a particular type. It is suitable for use in data structures such as hash algorithm and hash table. |
ToString() | Converts the value of the current instance to string representation. |
Name | Description |
---|---|
operator ==(Point2d, Point2d) | Checks whether two given Point2d are equal. |
implicit operator PointF(Point2d) | Implicit conversion to .
|
implicit operator Point2d(PointF) | Implicit conversion to .
|
operator !=(Point2d, Point2d) | Checks whether two given Point2d are different. |