Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NPaintVisitor Class / SnapXStroke Method


In This Topic
    SnapXStroke Method
    In This Topic
    Snaps a X coordinate for pixel snapped stroking.
    Syntax
    'Declaration
     
    
    Public Function SnapXStroke( _
       ByVal c As System.Double, _
       ByVal stroke As NStroke _
    ) As System.Double
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim c As System.Double
    Dim stroke As NStroke
    Dim value As System.Double
     
    value = instance.SnapXStroke(c, stroke)
    public System.double SnapXStroke( 
       System.double c,
       NStroke stroke
    )

    Parameters

    c
    stroke
    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