Point3D.PointF Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a PointF structure, which stores the X and Y coordinates of a 3D point.
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
Property Value
A PointF structure that represents the X and Y coordinates of a 3D point.
- Attributes
Remarks
Any point used in custom 3D drawing - which is accomplished using GDI+ - must be transformed from X, Y and Z (3D) coordinates into X and Y (2D) coordinates using the TransformPoints method. This method takes an array of Point3D objects as its only parameter. By calling TransformPoints, the X and Y property values are changed to reflect the 3-dimensional space.
These new X and Y coordinates are then converted to absolute coordinates, by using a method such as the GetAbsolutePoint method. After converting the coordinates, the PointF property of each Point3D object can be used for any GDI+ method that take a PointF object as a parameter.