GoDiagram Web Reference
DrawArrowhead Method

true if for the "To" end, false if for the "From" end
the offset is normally used for drawing a shadow
the offset is normally used for drawing a shadow
The result of a call to CalculateArrowhead
This method is called by Paint to actually draw an arrowhead.
Syntax
'Declaration
 
Protected Overridable Sub DrawArrowhead( _
   ByVal g As Graphics, _
   ByVal view As GoView, _
   ByVal pen As Pen, _
   ByVal brush As Brush, _
   ByVal atEnd As Boolean, _
   ByVal offsetw As Single, _
   ByVal offseth As Single, _
   ByVal poly() As PointF _
) 
protected virtual void DrawArrowhead( 
   Graphics g,
   GoView view,
   Pen pen,
   Brush brush,
   bool atEnd,
   float offsetw,
   float offseth,
   PointF[] poly
)

Parameters

g
view
pen
brush
atEnd
true if for the "To" end, false if for the "From" end
offsetw
the offset is normally used for drawing a shadow
offseth
the offset is normally used for drawing a shadow
poly
The result of a call to CalculateArrowhead
Remarks
By default this will be called with a thin, solid pen derived from Pen and this stroke's Brush. When the arrowhead style is GoStrokeArrowheadStyle.Circle, the polygon's [0] and [2] points are used to position the circle. When the arrowhead style is one of the "crossed" styles, the polygon's [1] and [3] points are used as the points for the crossing line.
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

GoStroke Class
GoStroke Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback