GoDiagram Web Reference
Paint Method (GoStroke)

A stroke is drawn as a sequence of straight line segments or Bezier curves, with optional arrows at the ends.
Syntax
'Declaration
 
Public Overrides Sub Paint( _
   ByVal g As Graphics, _
   ByVal view As GoView _
) 
public override void Paint( 
   Graphics g,
   GoView view
)

Parameters

g
view
Remarks
The kind of stroke is specified by Style, and the parameters of the stroke's segments are specified by the stroke's points. Each segment uses the points it needs until there are not enough more for an additional segment. If Shadowed is true, the stroke is drawn with the GetShadowPen at a offset given by GetShadowOffset. If HighlightPen is non-null, that pen is used to drawn the stroke first. Finally Pen is used to draw the stroke. If FromArrow or ToArrow are true, the corresponding arrowheads are drawn according to the values of the ArrowAnchorPoint, ArrowLength, ArrowShaftLength, ArrowWidth, and ArrowFilled.
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
Base Implementation in Paint

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback