Point3D.Y 属性

定义

获取或设置三维点的 Y 坐标。

public:
 property float Y { float get(); void set(float value); };
[System.ComponentModel.Bindable(true)]
public float Y { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Y : single with get, set
Public Property Y As Single

属性值

Single

一个 float 值,该值表示三维点的 Y 坐标。

属性

注解

自定义三维绘图中使用的任何点(使用 GDI + 完成)必须使用方法从 X、Y 和 Z (3D) 坐标转换为 X 和 Y (2D) 坐标 TransformPoints 。 此方法采用 Point3D 对象的数组作为其唯一参数。 通过调用 TransformPoints 方法,X 和 Y 属性值将更改,以反映三维空间。

然后,使用方法将这些新的 X 和 Y 坐标转换为绝对坐标 GetAbsolutePoint 。 然后,它们将用于 GDI + 方法调用。

可以使用方法从轴值获取相对 Y 坐标 ValueToPosition

适用于