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


In This Topic
    SnapRectangleStroke Method
    In This Topic
    Snaps a rectangle for pixel snapped stroking.
    Syntax
    'Declaration
     
    
    Public Function SnapRectangleStroke( _
       ByVal rect As NRectangle, _
       ByVal stroke As NStroke _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim rect As NRectangle
    Dim stroke As NStroke
    Dim value As NRectangle
     
    value = instance.SnapRectangleStroke(rect, stroke)
    public NRectangle SnapRectangleStroke( 
       NRectangle rect,
       NStroke stroke
    )

    Parameters

    rect
    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