GoDiagram Web Reference
PaintDecoration Method (GoSubGraph)

Paint a rounded rectangle using the current BackgroundColor, Opacity, BorderPen and Corner (or CollapsedCorner).
Syntax
'Declaration
 
Protected Overridable Sub PaintDecoration( _
   ByVal g As Graphics, _
   ByVal view As GoView _
) 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoSubGraph Class
GoSubGraph Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback