GoDiagram Web Reference
ComputeBounds Method (GoPolygon)

The bounding rectangle of a polygon is computed as the smallest rectangle that includes all of its 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-sided polygons are not necessarily the closest fitting.
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

GoPolygon Class
GoPolygon Members
Base Implementation in ComputeBounds

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback