NevronOpenVision
Nevron.Nov.Graphics Namespace / NRange2DI Structure / FromTwoPoints Method / FromTwoPoints(Int32,Int32,Int32,Int32) Method
X coordinate of the first point.
Y coordinate of the first point.
X coordinate of the second point.
Y coordinate of the second point.
In This Topic
    FromTwoPoints(Int32,Int32,Int32,Int32) Method
    In This Topic
    Creates a normalized 2D range from two points.
    Syntax
    public static NRange2DI FromTwoPoints( 
       System.int x1,
       System.int y1,
       System.int x2,
       System.int y2
    )

    Parameters

    x1
    X coordinate of the first point.
    y1
    Y coordinate of the first point.
    x2
    X coordinate of the second point.
    y2
    Y coordinate of the second point.

    Return Value

    Returns a normalized 2D range structure.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also