GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRulerCursor Class / Paint Method
The Graphics object to use when drawing.
The specified GoRuler.
The position, in pixels, that the GoRulerCursor represents.
In This Topic
    Paint Method (GoRulerCursor)
    In This Topic
    Paints the GoRulerCursor at a particular position on the specified GoRuler using the given Graphics object.
    Syntax
    public virtual void Paint( 
       Graphics g,
       GoRuler ruler,
       float pixelPosition
    )

    Parameters

    g
    The Graphics object to use when drawing.
    ruler
    The specified GoRuler.
    pixelPosition
    The position, in pixels, that the GoRulerCursor represents.
    Remarks
    By default this just draws a one-pixel wide line.
    See Also