Polygon overviewConstructors
Public Methods
Add | Use 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), ....) |
Bounds | Returns the rectangle in pixels that corresponds to the maximum space used by the polygon. |
CalcPoints | |
Centroid | |
Draw | |
GetPoints | The 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. |
Visible | Returns True if the polygon fits inside the available Chart ChartRect rectangle. |
Public Properties
Brush | The Brush property determines the kind of brush used to fill the polygon interior. |
Chart (inherited from TeeBase) | Chart associated with this object |
Closed | When 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 | |
Color | Set Color property to specify the color to be used to fill the polygon.
Or to be used to draw the Brush pattern. |
Gradient | The Gradient property determines the kind of polygon's interior gradient effect. |
Index | |
ParentBrush | To 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. |
ParentPen | To 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 | |
Pen | Set Pen property to specify the Pen to be used to draw the border of the polygon. |
Picture | |
Points | Use 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. |
Text | Use Text to specify the text string that labels the polygon |
Transparency | Amount of opacity used to fill the polygon interior.
100 means fully transparent, 0 means fully opaque. |
Z | Use 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
Protected Methods
Protected Properties
See Also
Polygon Class | Steema.TeeChart.Styles Namespace