GoDiagram Web Reference
ComputeBounds Method (GoStroke)

The bounding rectangle of a stroke is computed as the smallest rectangle that includes all of the stroke's points.
Syntax
'Declaration
 
Protected Overrides Function ComputeBounds() As RectangleF
protected override RectangleF ComputeBounds()
Remarks
If there are only zero or one points, the size will be zero. The computed bounds for Bezier strokes are not necessarily the closest fitting, and do not include any arrowheads.
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 ComputeBounds

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback