Class
MapPolygon

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: IBorderElementIBoxElementIBoxStyleIClusterableIColorizableIExtendedDataIFillElementIShapedElementITextElement

Inherited Members MapGeometry.OnExtendedDataPropertyChanged(object, PropertyChangedEventArgs)MapGeometry.ResolveEntityReferences()MapGeometry.TextMapGeometry.DrawTextMapGeometry.ColorizerColorMapGeometry.ExtendedDataMapGeometry.BackColorMapGeometry.BackColor2MapGeometry.BackColor3MapGeometry.BackColor4MapPathBasedVisualElement.ViewportChanged(IMapViewport, ViewportChangeAction)MapPathBasedVisualElement.HitTest(PointG, PointL, IMapViewport)MapPathBasedVisualElement.GetVisualElementInfo(IMapViewport)MapPathBasedVisualElement.ResetGraphicsPathCache()MapPathBasedVisualElement.IsInViewportMapPathBasedVisualElement.LocationMapVisualElement.GetGeographicBounds()MapVisualElement.GetCurrentShape()MapVisualElement.GeographicBoundsMapVisualElement.LayerMapVisualElement.IsVisibleMapVisualElement.IsSelectedMapVisualElement.TagMapVisualElement.NumberOfColorsMapVisualElement.GradientAngleMapVisualElement.GradientPercentageMapVisualElement.GradientPercentage2MapVisualElement.GradientStyleMapVisualElement.SizeMapVisualElement.SmoothingModeMapVisualElement.BorderColorMapVisualElement.BorderColor2MapVisualElement.BorderColor3MapVisualElement.BorderColor4MapVisualElement.InnerColorMapVisualElement.InnerColor2MapVisualElement.InnerColor3MapVisualElement.InnerColor4MapVisualElement.BoxStyleMapVisualElement.BorderDrawModeMapVisualElement.BorderDashStyleMapVisualElement.BorderDashPatternMapVisualElement.LeftColorMapVisualElement.LeftShadowColorMapVisualElement.TopColorMapVisualElement.TopShadowColorMapVisualElement.RightColorMapVisualElement.RightShadowColorMapVisualElement.BottomColorMapVisualElement.BottomShadowColorMapVisualElement.BorderWidthMapVisualElement.LeftWidthMapVisualElement.TopWidthMapVisualElement.RightWidthMapVisualElement.BottomWidthMapVisualElement.OffsetMapVisualElement.BorderSizeMapVisualElement.HorizontalWidthMapVisualElement.VerticalWidthMapVisualElement.ForeColorMapVisualElement.FontMapVisualElement.ToolTipTextMapVisualElement.RawResourceMapVisualElement.Shape

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.

Declaration

cs-api-definition
public MapPolygon(IEnumerable<PointG> outerBoundary, List<List<PointG>> innerBoundaries)

Parameters

outerBoundary

IEnumerable<PointG>

The outer boundary of this polygon.

innerBoundaries

List<List<PointG>>

The inner boundaries of this polygon.

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

bool

Overrides MapPathBasedVisualElement.IsOutline

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

IMapViewport

Returns

MapVisualElementInfo

Overrides MapPathBasedVisualElement.CreateVisualElementInfo(IMapViewport)

Paint(IGraphics, IMapViewport)

Paints the element to the specified graphics.

Declaration

cs-api-definition
public override void Paint(IGraphics graphics, IMapViewport viewport)

Parameters

graphics

IGraphics

The graphics.

viewport

IMapViewport

The viewport.

Overrides MapVisualElement.Paint(IGraphics, IMapViewport)