Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / PointF Structure / PointF Constructor
The PointF's x coordinate.
The PointF's y coordinate.


In This Topic
    PointF Constructor
    In This Topic
    Creates a new PointF object from x & y coordinates.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Single, _
       ByVal y As Single _
    )
    'Usage
     
    Dim x As Single
    Dim y As Single
     
    Dim instance As New PointF(x, y)
    public PointF( 
       float x,
       float y
    )

    Parameters

    x
    The PointF's x coordinate.
    y
    The PointF's y coordinate.
    Remarks

    In .NET5+, this will create a SKPoint.

    In .NET Framework, this will create a System.Drawing.PointF.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also