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