GoDiagram Web Reference
IsClosedFigure Method

An index contained in the figure to be determined closed or not. If less than zero, it will be set to zero. If beyond the end of the array, it will be set to the last index.
This predicate determines if the figure containing the given index is closed.
Syntax
'Declaration
 
Public Function IsClosedFigure( _
   ByVal i As Integer _
) As Boolean
public bool IsClosedFigure( 
   int i
)

Parameters

i
An index contained in the figure to be determined closed or not. If less than zero, it will be set to zero. If beyond the end of the array, it will be set to the last index.

Return Value

true if the figure containing the index is closed. false if the figure containing the index is open, or if there are no points.
Remarks
A closed figure will be filled with a brush if one is set, and will have a line drawn from its end point to its start point, if they are not already at the same point. To close or open figures, use OpenFigure and CloseFigure(Int32).
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

GoDrawing Class
GoDrawing Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback