Class
MapTile

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class MapTile : MapVisualElement, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement

Inheritance: objectMapVisualElementMapTile

Implements: IBorderElementIBoxElementIBoxStyleIClusterableIFillElementIShapedElementITextElement

Inherited Members MapVisualElement.GetGeographicBounds()MapVisualElement.HitTest(PointG, PointL, IMapViewport)MapVisualElement.GetCurrentShape()MapVisualElement.LocationMapVisualElement.GeographicBoundsMapVisualElement.LayerMapVisualElement.IsVisibleMapVisualElement.IsSelectedMapVisualElement.TagMapVisualElement.BackColorMapVisualElement.BackColor2MapVisualElement.BackColor3MapVisualElement.BackColor4MapVisualElement.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.TextMapVisualElement.ToolTipTextMapVisualElement.RawResourceMapVisualElement.Shape

Constructors

MapTile(Image, Rectangle)

Initializes a new instance of the MapTile class.

Declaration

cs-api-definition
public MapTile(Image image, Rectangle rectangle)

Parameters

image

Image

The image.

rectangle

Rectangle

The rectangle.

Properties

DrawRectangle

Gets the draw rectangle.

Declaration

cs-api-definition
public Rectangle DrawRectangle { get; }

Property Value

Rectangle

The draw rectangle.

Image

Gets the image.

Declaration

cs-api-definition
public Image Image { get; }

Property Value

Image

The image.

IsInViewport

Gets a value indicating whether this instance is visible in the viewport.

Declaration

cs-api-definition
public override bool IsInViewport { get; }

Property Value

bool

true if this instance is visible in the viewport.; otherwise, false.

Overrides MapVisualElement.IsInViewport

Methods

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)

ViewportChanged(IMapViewport, ViewportChangeAction)

Called when the viewport changes.

Declaration

cs-api-definition
public override void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)

Parameters

viewport

IMapViewport

The viewport.

action

ViewportChangeAction

The action.

Overrides MapVisualElement.ViewportChanged(IMapViewport, ViewportChangeAction)