GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayer Class / Paint Method
In This Topic
    Paint Method (GoLayer)
    In This Topic
    Render all of the visible objects in this layer within a rectangle to a Graphics.
    Syntax
    public void Paint( 
       Graphics g,
       GoView view,
       RectangleF clipRect
    )

    Parameters

    g
    view
    clipRect
    Remarks
    This method calls GoObject.Paint on each object in this layer whose GoObject.CanView property is true and whose paint bounds, calculated by calling GoObject.ExpandPaintBounds, intersects with clipRect. If GoView.IsPrinting is true, it calls GoObject.CanPrint on each object instead of calling GoObject.CanView. If CanViewObjects is false, or if GoView.IsPrinting is true and CanPrintObjects is false, this method does nothing.
    See Also