GoDiagram Web Reference
FillShapeHighlight(Color) Method

a Color
Set the Brush to be a path shaped gradient that is mostly the start color, with a white "highlight".
Syntax
'Declaration
 
Public Overloads Sub FillShapeHighlight( _
   ByVal start As Color _
) 
public void FillShapeHighlight( 
   Color start
)

Parameters

start
a Color
Remarks
Path gradients only work well for convex shapes having only a single figure. You can set the BrushPoint property to change where the center color is centered; the default is new PointF(0.15f, 0.15f), near the top-left corner. You can set the BrushFocusScales property to change the size of the center color area; the default is new SizeF(0.1f, 0.1f).
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

GoShape Class
GoShape Members
Overload List
Brush Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback