Point3D.PointF 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个 PointF 结构,该结构存储 3D 点的 X 和 Y 坐标。
public:
property System::Drawing::PointF PointF { System::Drawing::PointF get(); void set(System::Drawing::PointF value); };
[System.ComponentModel.Bindable(true)]
public System.Drawing.PointF PointF { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.PointF : System.Drawing.PointF with get, set
Public Property PointF As PointF
属性值
表示 PointF 3D 点的 X 和 Y 坐标的结构。
- 属性
注解
使用 GDI+ 完成的自定义 3D 绘图中使用的任何点都必须使用 TransformPoints 该方法从 X、Y 和 Z (3D) 坐标转换为 X 和 Y (2D) 坐标。 此方法采用对象数组 Point3D 作为其唯一参数。 通过调用 TransformPoints,X 和 Y 属性值将更改以反映三维空间。
然后,这些新的 X 和 Y 坐标通过使用方法(如 GetAbsolutePoint 该方法)转换为绝对坐标。 转换坐标后, PointF 每个 Point3D 对象的属性都可用于将 PointF 对象用作参数的任何 GDI+ 方法。