[]
        
(Showing Draft Content)

C1.Win.Interop.Point

Point Struct

Represents an ordered pair of double X and Y coordinates that defines a point in a two-dimensional plane.

Namespace: C1.Win.Interop
Assembly: C1.Win.8.dll
Syntax
public struct Point

Constructors

Name Description
Point(double, double)

Initializes a new instance of the Point structure.

Properties

Name Description
Empty

Represents an empty instance of the Point structure.

IsEmpty

Gets a value indicating whether the current Point is empty.

X

Gets or sets the X coordinate of the current Point.

Y

Gets or sets the Y coordinate of the current Point.

Methods

Name Description
Add(Point, Size)

Adds a Size to a Point.

Ceiling()

Converts the current Point structure to a Point by rounding the double coordinates to the next higher integer values.

Equals(object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Offset(double, double)

Offsets the current Point structure by the specified values.

Substract(Point, Size)

Subtracts a Size from a Point.

ToPointF()

Converts the current Point structure to a PointF.

ToString()

Converts the current Point to a human readable string.

Truncate()

Converts the current Point structure to a Point by truncating the values of the Point object.

Operators

Name Description
operator +(Point, Size)

Adds a Size to a Point.

operator ==(Point, Point)

Indicates whether two Point structures are equal.

explicit operator Size(Point)

Converts a Point to a Size.

implicit operator Point(Point)

Converts a Point to a Point.

implicit operator Point(PointF)

Converts a PointF to a Point.

operator !=(Point, Point)

Indicates whether two Point structures are not equal.

operator -(Point, Size)

Subtracts a Size from a Point.