Class MapPolygon
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapPolygon : MapGeometry, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement, IExtendedData, IColorizable
Constructors
MapPolygon(IEnumerable<PointG>)
Initializes a new instance of the MapPolygon class.
Declaration
public MapPolygon(IEnumerable<PointG> outerBoundary)
Parameters
System.Collections.Generic.IEnumerable<PointG>
outerBoundary
The outer boundary of this polygon. |
MapPolygon(IEnumerable<PointG>, List<List<PointG>>)
Initializes a new instance of the MapPolygon class.
Declaration
public MapPolygon(IEnumerable<PointG> outerBoundary, List<List<PointG>> innerBoundaries)
Parameters
System.Collections.Generic.IEnumerable<PointG>
outerBoundary
The outer boundary of this polygon. |
System.Collections.Generic.List<System.Collections.Generic.List<PointG>>
innerBoundaries
The inner boundaries of this polygon. |
Properties
InnerBoundaries
Gets the inner boundaries.
Declaration
public List<List<PointG>> InnerBoundaries { get; }
Property Value
System.Collections.Generic.List<System.Collections.Generic.List<PointG>>
The points. |
IsOutline
Declaration
protected override bool IsOutline { get; }
Property Value
System.Boolean
|
Overrides
OuterBoundary
Gets the outer boundary.
Declaration
public IEnumerable<PointG> OuterBoundary { get; }
Property Value
System.Collections.Generic.IEnumerable<PointG>
The points. |
Points
Gets the points of the poligon.
Declaration
[Obsolete("Use OuterBoundary instead.")]
public IEnumerable<PointG> Points { get; }
Property Value
System.Collections.Generic.IEnumerable<PointG>
The points. |
Methods
CreateVisualElementInfo(IMapViewport)
Declaration
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)
Parameters
IMapViewport
viewport
|
Returns
MapVisualElementInfo
|
Overrides
Paint(IGraphics, IMapViewport)
Declaration
public override void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
|
IMapViewport
viewport
|