PointD 结构
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
<SerializableAttribute> _
<TypeConverterAttribute(GetType(PointDConverter))> _
Public Structure PointD
[SerializableAttribute]
[TypeConverterAttribute(typeof(PointDConverter))]
public struct PointD
PointD 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
PointD(PointF) | |
![]() |
PointD(Double, Double) |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
IsEmpty | |
![]() |
X | |
![]() |
Y |
页首
方法
名称 | 说明 | |
---|---|---|
![]() ![]() |
Add | 通过将给定范围转换 PointD。 |
![]() |
Equals | (重写 ValueType.Equals(Object)。) |
![]() |
GetHashCode | (重写 ValueType.GetHashCode()。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
Offset | |
![]() ![]() |
Subtract | 通过减去给定范围转换 PointD。 |
![]() ![]() |
ToPointF | |
![]() |
ToString | 返回如下所示设置了格式的字符串:X=x, Y=y (重写 ValueType.ToString()。) |
页首
运算符
名称 | 说明 | |
---|---|---|
![]() ![]() |
Addition | 通过将给定范围转换 PointD。 |
![]() ![]() |
Equality | |
![]() ![]() |
Inequality | |
![]() ![]() |
Subtraction | 通过减去给定范围转换 PointD。 |
页首
字段
名称 | 说明 | |
---|---|---|
![]() ![]() |
Empty |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。