PointD Structure
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
<TypeConverterAttribute(GetType(PointDConverter))> _
Public Structure PointD
[SerializableAttribute]
[TypeConverterAttribute(typeof(PointDConverter))]
public struct PointD
[SerializableAttribute]
[TypeConverterAttribute(typeof(PointDConverter))]
public value class PointD
[<Sealed>]
[<SerializableAttribute>]
[<TypeConverterAttribute(typeof(PointDConverter))>]
type PointD = struct end
JScript supports the use of structures, but not the declaration of new ones.
The PointD type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PointD(PointF) | ||
PointD(Double, Double) |
Top
Properties
Name | Description | |
---|---|---|
IsEmpty | ||
X | ||
Y |
Top
Methods
Name | Description | |
---|---|---|
Add | Translates a PointD by adding the given size. | |
Equals | (Overrides ValueType.Equals(Object).) | |
GetHashCode | (Overrides ValueType.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Offset | ||
Subtract | Translates a PointD by subtracting the given size. | |
ToPointF | ||
ToString | Returns a string formatted like this: X=x, Y=y (Overrides ValueType.ToString.) |
Top
Operators
Name | Description | |
---|---|---|
Addition | Translates a PointD by adding the given size. | |
Equality | ||
Inequality | ||
Subtraction | Translates a PointD by subtracting the given size. |
Top
Fields
Name | Description | |
---|---|---|
Empty |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.