[]
        
(Showing Draft Content)

C1.C1Preview.PointD

PointD Struct

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

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
[TypeConverter(typeof(PointD.TypeConverter))]
public struct PointD

Constructors

Name Description
PointD(double, double)

Initializes a new instance of the PointD structure.

Properties

Name Description
Empty

Represents an empty instance of the PointD structure.

IsEmpty

Gets a value indicating whether the current PointD is empty.

X

Gets or sets the X coordinate of the current PointD.

Y

Gets or sets the Y coordinate of the current PointD.

Methods

Name Description
Add(PointD, SizeD)

Adds a SizeD to a PointD.

Ceiling()

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

Offset(double, double)

Offsets the current PointD structure by the specified values.

Parse(string, out PointD, bool)

Converts a string to a PointD structure.

Substract(PointD, SizeD)

Subtracts a SizeD from a PointD.

ToPointF()

Converts the current PointD structure to a PointF.

ToString()

Converts the current PointD to a human readable string.

Truncate()

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

Operators

Name Description
operator +(PointD, SizeD)

Adds a SizeD to a PointD.

explicit operator SizeD(PointD)

Converts a PointD to a SizeD.

implicit operator PointD(Point)

Converts a Point to a PointD.

implicit operator PointD(PointF)

Converts a PointF to a PointD.

operator -(PointD, SizeD)

Subtracts a SizeD from a PointD.