Condividi tramite


PointD Struct

Definition

public value class PointD
[System.ComponentModel.TypeConverter(typeof(Microsoft.VisualStudio.Modeling.Diagrams.PointDConverter))]
[System.Serializable]
public struct PointD
[<System.ComponentModel.TypeConverter(typeof(Microsoft.VisualStudio.Modeling.Diagrams.PointDConverter))>]
[<System.Serializable>]
type PointD = struct
Public Structure PointD
Inheritance
PointD
Attributes

Constructors

PointD(Double, Double)
PointD(PointF)

Fields

Empty

Properties

IsEmpty
X
Y

Methods

Add(PointD, SizeD)

Translates a PointD by adding the given size.

Equals(Object)
GetHashCode()
Offset(Double, Double)
Subtract(PointD, SizeD)

Translates a PointD by subtracting the given size.

ToPointF(PointD)
ToString()

Returns a string formatted like this: X=x, Y=y

Operators

Addition(PointD, SizeD)

Translates a PointD by adding the given size.

Equality(PointD, PointD)
Inequality(PointD, PointD)
Subtraction(PointD, SizeD)

Translates a PointD by subtracting the given size.

Applies to