Class MapTile
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapTile : MapVisualElement, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement
Constructors
MapTile(Image, Rectangle)
Initializes a new instance of the MapTile class.
Declaration
public MapTile(Image image, Rectangle rectangle)
Parameters
System.Drawing.Image
image
The image. |
System.Drawing.Rectangle
rectangle
The rectangle. |
Properties
DrawRectangle
Gets the draw rectangle.
Declaration
public Rectangle DrawRectangle { get; }
Property Value
System.Drawing.Rectangle
The draw rectangle. |
Image
Gets the image.
Declaration
public Image Image { get; }
Property Value
System.Drawing.Image
The image. |
IsInViewport
Gets a value indicating whether this instance is visible in the viewport.
Declaration
public override bool IsInViewport { get; }
Property Value
System.Boolean
|
Overrides
Methods
Paint(IGraphics, IMapViewport)
Paints the element to the specified graphics.
Declaration
public override void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
The graphics. |
IMapViewport
viewport
The viewport. |
Overrides
ViewportChanged(IMapViewport, ViewportChangeAction)
Called when the viewport changes.
Declaration
public override void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters
IMapViewport
viewport
The viewport. |
ViewportChangeAction
action
The action. |