GoDiagram Web Reference
FillSingleEdge(Color,Color,Int32) Method

a Color for the edge
a Color for the rest of the area
one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.MiddleRight, GoObject.MiddleBottom, that shows the start color
Set the Brush to be a linear gradient starting with the start color, having the center being the center color.
Syntax
'Declaration
 
Public Overloads Sub FillSingleEdge( _
   ByVal start As Color, _
   ByVal center As Color, _
   ByVal spot As Integer _
) 
public void FillSingleEdge( 
   Color start,
   Color center,
   int spot
)

Parameters

start
a Color for the edge
center
a Color for the rest of the area
spot
one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.MiddleRight, GoObject.MiddleBottom, that shows the start color
Remarks
Only filled areas inside the shape near the spot will get the starting color. You can change the BrushMidFraction property to adjust the thickness of the start color edging.
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