GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSubGraph Class / PaintDecoration Method
In This Topic
    PaintDecoration Method (GoSubGraph)
    In This Topic
    Paint a rounded rectangle using the current BackgroundColor, Opacity, BorderPen and Corner (or CollapsedCorner).
    Syntax
    protected virtual void PaintDecoration( 
       Graphics g,
       GoView view
    )

    Parameters

    g
    view
    Remarks
    When the Opacity is zero, the background color is not painted at all. This calls the ComputeBorder method to determine the size and position of the border and background to be painted. The BorderPen is drawn just inside the border bounds. This is called by Paint before painting all of the child objects, when there is no CollapsedObject shown.
    See Also