MapPolygon
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
C#
public class MapPolygon : MapGeometry, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement, IExtendedData, IColorizable
Inheritance: objectMapVisualElementMapPathBasedVisualElementMapGeometryMapPolygon
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapPolygon class.
Initializes a new instance of the MapPolygon class.
C#
public MapPolygon(IEnumerable<PointG> outerBoundary)
The outer boundary of this polygon.
Properties
InnerBoundaries
List<List<PointG>>
Gets the inner boundaries.
C#
public List<List<PointG>> InnerBoundaries { get; }
The points.
OuterBoundary
IEnumerable<PointG>
Gets the outer boundary.
C#
public IEnumerable<PointG> OuterBoundary { get; }
The points.
Methods
C#
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)
Overrides:
Paints the element to the specified graphics.
C#
public override void Paint(IGraphics graphics, IMapViewport viewport)
The graphics.
viewportIMapViewportThe viewport.
Overrides: