Polygon overview

Constructors

 ConstructorOverloaded

Public Methods

 AddUse Add method to add a boundary coordinate to the polygon. The polygon will be drawn in sequential order of the coordinates. (ie. from point 1 (X0,Y0) to point 2 (X1,Y1) to point 3 (X2,Y2), ....)
 BoundsReturns the rectangle in pixels that corresponds to the maximum space used by the polygon.
 CalcPoints
 Centroid
 Draw
 GetPointsThe GetPoints function returns the coordinates of all Points of the Polygon.
 Invalidate (inherited from TeeBase)Use Invalidate when the entire canvas needs to be repainted.
 VisibleReturns True if the polygon fits inside the available Chart ChartRect rectangle.

Public Properties

 BrushThe Brush property determines the kind of brush used to fill the polygon interior.
 Chart (inherited from TeeBase)Chart associated with this object
 ClosedWhen Closed is True, the polygon is displayed and filled using the polygon Pen and Brush properties. When Closed is False, a poly-line is displayed using the Pen property.
 Code
 ColorSet Color property to specify the color to be used to fill the polygon. Or to be used to draw the Brush pattern.
 GradientThe Gradient property determines the kind of polygon's interior gradient effect.
 Index
 ParentBrushTo have a polygon to use the same Brush as its parentseries (Map Series), set ParentBrush to True. If ParentBrush is False, the polygon uses its own Brush property.
 ParentPenTo have a polygon to use the same Pen as its Parentseries, set ParentPen to True. If ParentPen is False, the polygon uses its own Pen property.
 ParentSeries
 PenSet Pen property to specify the Pen to be used to draw the border of the polygon.
 Picture
 PointsUse the Points property to have access to the co-ordinates PointList which determine the boundary of the polygon.
 Size
 Tag (inherited from TeeBase)Gets or sets an object that provides additional data about the TChart object.
 TextUse Text to specify the text string that labels the polygon
 TransparencyAmount of opacity used to fill the polygon interior. 100 means fully transparent, 0 means fully opaque.
 ZUse Z property to specify the position on the Z-axis of the 3D Map Series. In Chart terms this will set a Z plane position, a lower value of Z will be drawn in front of a higher Z value. Map Series is intended to be viewed in 2D and the Z value is provided to be used as a value for a Polygon (ie. for demographic maps). If colour Palette is used then the Z value will set the Polygon colour.

Protected Fields

 FPoints
 Steema.TeeChart.Drawing.TeeBase.InternalTag
 InternalUse (inherited from TeeBase)
 reuse3D
 ShowInEditor (inherited from TeeBase)

Protected Methods

 SetBooleanProperty (inherited from TeeBase)
 SetChart (inherited from TeeBase)
 SetColorProperty (inherited from TeeBase)
 SetDoubleProperty (inherited from TeeBase)
 SetFloatProperty (inherited from TeeBase)
 SetIntegerProperty (inherited from TeeBase)
 SetStringProperty (inherited from TeeBase)

Protected Properties

 Transform

See Also

Polygon Class | Steema.TeeChart.Styles Namespace