Class
MapVisualElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

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

Inheritance: objectMapVisualElement

Derived Classes: MapPathBasedVisualElementMapTile

Implements: IBorderElementIBoxElementIBoxStyleIClusterableIFillElementIShapedElementITextElement

Constructors

MapVisualElement()

Initializes a new instance of the MapVisualElement class.

Declaration

cs-api-definition
public MapVisualElement()

Properties

BackColor

Declaration

cs-api-definition
public virtual Color BackColor { get; set; }

Property Value

Color

Implements IFillElement.BackColor

BackColor2

Declaration

cs-api-definition
public virtual Color BackColor2 { get; set; }

Property Value

Color

Implements IFillElement.BackColor2

BackColor3

Declaration

cs-api-definition
public virtual Color BackColor3 { get; set; }

Property Value

Color

Implements IFillElement.BackColor3

BackColor4

Declaration

cs-api-definition
public virtual Color BackColor4 { get; set; }

Property Value

Color

Implements IFillElement.BackColor4

BorderColor

Declaration

cs-api-definition
public Color BorderColor { get; set; }

Property Value

Color

BorderColor2

Declaration

cs-api-definition
public virtual Color BorderColor2 { get; set; }

Property Value

Color

BorderColor3

Declaration

cs-api-definition
public virtual Color BorderColor3 { get; set; }

Property Value

Color

BorderColor4

Declaration

cs-api-definition
public virtual Color BorderColor4 { get; set; }

Property Value

Color

BorderDashPattern

Declaration

cs-api-definition
public virtual float[] BorderDashPattern { get; set; }

Property Value

float[]

Implements IBorderElement.BorderDashPattern

BorderDashStyle

Declaration

cs-api-definition
public virtual DashStyle BorderDashStyle { get; set; }

Property Value

DashStyle

Implements IBorderElement.BorderDashStyle

BorderDrawMode

Declaration

cs-api-definition
public virtual BorderDrawModes BorderDrawMode { get; set; }

Property Value

BorderDrawModes

Implements IBorderElement.BorderDrawMode

BorderSize

Gets a value indicating the border size.

Declaration

cs-api-definition
public virtual SizeF BorderSize { get; set; }

Property Value

SizeF

Implements IBoxElement.BorderSize

BorderWidth

Declaration

cs-api-definition
public virtual float BorderWidth { get; set; }

Property Value

float

BottomColor

Declaration

cs-api-definition
public virtual Color BottomColor { get; set; }

Property Value

Color

Implements IBoxStyle.BottomColor

BottomShadowColor

Declaration

cs-api-definition
public virtual Color BottomShadowColor { get; set; }

Property Value

Color

Implements IBoxStyle.BottomShadowColor

BottomWidth

Gets or sets a value indicating the botton width.

Declaration

cs-api-definition
public virtual float BottomWidth { get; set; }

Property Value

float

Implements IBoxElement.BottomWidth

BoxStyle

Declaration

cs-api-definition
public virtual BorderBoxStyle BoxStyle { get; set; }

Property Value

BorderBoxStyle

Implements IBorderElement.BoxStyle

Font

Gets or sets the font.

Declaration

cs-api-definition
public virtual Font Font { get; set; }

Property Value

Font

The font.

Implements ITextElement.Font

ForeColor

Gets or sets the fore color.

Declaration

cs-api-definition
public virtual Color ForeColor { get; set; }

Property Value

Color

The fore color.

Implements ITextElement.ForeColor

GeographicBounds

Gets the geographic bounds.

Declaration

cs-api-definition
public virtual RectangleG GeographicBounds { get; }

Property Value

RectangleG

The geographic bounds.

Implements IClusterable.GeographicBounds

GradientAngle

Declaration

cs-api-definition
public virtual float GradientAngle { get; set; }

Property Value

float

Implements IBorderElement.GradientAngleIFillElement.GradientAngle

GradientPercentage

Declaration

cs-api-definition
public virtual float GradientPercentage { get; set; }

Property Value

float

Implements IFillElement.GradientPercentage

GradientPercentage2

Declaration

cs-api-definition
public virtual float GradientPercentage2 { get; set; }

Property Value

float

Implements IFillElement.GradientPercentage2

GradientStyle

Declaration

cs-api-definition
public virtual GradientStyles GradientStyle { get; set; }

Property Value

GradientStyles

Implements IBorderElement.GradientStyleIFillElement.GradientStyle

HorizontalWidth

Gets a value indicating the horizontal width.

Declaration

cs-api-definition
public virtual float HorizontalWidth { get; set; }

Property Value

float

Implements IBoxElement.HorizontalWidth

InnerColor

Declaration

cs-api-definition
public virtual Color InnerColor { get; set; }

Property Value

Color

Implements IBorderElement.InnerColor

InnerColor2

Declaration

cs-api-definition
public virtual Color InnerColor2 { get; set; }

Property Value

Color

Implements IBorderElement.InnerColor2

InnerColor3

Declaration

cs-api-definition
public virtual Color InnerColor3 { get; set; }

Property Value

Color

Implements IBorderElement.InnerColor3

InnerColor4

Declaration

cs-api-definition
public virtual Color InnerColor4 { get; set; }

Property Value

Color

Implements IBorderElement.InnerColor4

IsInViewport

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

Declaration

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

Property Value

bool

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

IsSelected

Gets a value indicating whether this instance is selected.

Declaration

cs-api-definition
public virtual bool IsSelected { get; }

Property Value

bool

true if this instance is selected; otherwise, false.

IsVisible

Gets or sets a value indicating whether this instance is visible.

Declaration

cs-api-definition
public virtual bool IsVisible { get; set; }

Property Value

bool

true if this instance is visible; otherwise, false.

Layer

Gets the layer this element is added to.

Declaration

cs-api-definition
public MapLayer Layer { get; }

Property Value

MapLayer

The layer.

LeftColor

Declaration

cs-api-definition
public virtual Color LeftColor { get; set; }

Property Value

Color

Implements IBoxStyle.LeftColor

LeftShadowColor

Declaration

cs-api-definition
public virtual Color LeftShadowColor { get; set; }

Property Value

Color

Implements IBoxStyle.LeftShadowColor

LeftWidth

Gets or sets a value indicating the left width.

Declaration

cs-api-definition
public virtual float LeftWidth { get; set; }

Property Value

float

Implements IBoxElement.LeftWidth

Location

Gets or sets the location.

Declaration

cs-api-definition
public virtual PointG Location { get; set; }

Property Value

PointG

The location.

Implements IClusterable.Location

NumberOfColors

Declaration

cs-api-definition
public virtual int NumberOfColors { get; set; }

Property Value

int

Implements IFillElement.NumberOfColors

Offset

Gets a value indicating the offset.

Declaration

cs-api-definition
public virtual SizeF Offset { get; set; }

Property Value

SizeF

Implements IBoxElement.Offset

RawResource

Declaration

cs-api-definition
public virtual object RawResource { get; set; }

Property Value

object

Implements ITextElement.RawResource

RightColor

Declaration

cs-api-definition
public virtual Color RightColor { get; set; }

Property Value

Color

Implements IBoxStyle.RightColor

RightShadowColor

Declaration

cs-api-definition
public virtual Color RightShadowColor { get; set; }

Property Value

Color

Implements IBoxStyle.RightShadowColor

RightWidth

Gets or sets a value indicating the right width.

Declaration

cs-api-definition
public virtual float RightWidth { get; set; }

Property Value

float

Implements IBoxElement.RightWidth

Shape

Declaration

cs-api-definition
public ElementShape Shape { get; set; }

Property Value

ElementShape

Size

Declaration

cs-api-definition
public virtual Size Size { get; set; }

Property Value

Size

Implements IFillElement.Size

SmoothingMode

Declaration

cs-api-definition
public virtual SmoothingMode SmoothingMode { get; set; }

Property Value

SmoothingMode

Implements IBorderElement.SmoothingModeIFillElement.SmoothingMode

Tag

Declaration

cs-api-definition
public object Tag { get; set; }

Property Value

object

Text

Gets or sets the text.

Declaration

cs-api-definition
public virtual string Text { get; set; }

Property Value

string

The text.

Implements ITextElement.Text

ToolTipText

Gets or sets the text of the tool tip for this element.

Declaration

cs-api-definition
public virtual string ToolTipText { get; set; }

Property Value

string

The tool tip text.

Implements IClusterable.ToolTipText

TopColor

Declaration

cs-api-definition
public virtual Color TopColor { get; set; }

Property Value

Color

Implements IBoxStyle.TopColor

TopShadowColor

Declaration

cs-api-definition
public virtual Color TopShadowColor { get; set; }

Property Value

Color

Implements IBoxStyle.TopShadowColor

TopWidth

Gets or sets a value indicating the top width.

Declaration

cs-api-definition
public virtual float TopWidth { get; set; }

Property Value

float

Implements IBoxElement.TopWidth

VerticalWidth

Gets a value indicating the vertical width.

Declaration

cs-api-definition
public virtual float VerticalWidth { get; set; }

Property Value

float

Implements IBoxElement.VerticalWidth

Methods

GetCurrentShape()

Declaration

cs-api-definition
public virtual ElementShape GetCurrentShape()

Returns

ElementShape

Implements IShapedElement.GetCurrentShape()

GetGeographicBounds()

Gets the geographic bounds of elements that consist of more than one figure.

Declaration

cs-api-definition
public virtual RectangleG[] GetGeographicBounds()

Returns

RectangleG[]

RectangleG[].

HitTest(PointG, PointL, IMapViewport)

Hit tests the element.

Declaration

cs-api-definition
public virtual bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)

Parameters

pointG

PointG

The point g.

pointL

PointL

The point l.

viewport

IMapViewport

The viewport.

Returns

bool

true if XXXX, false otherwise.

Paint(IGraphics, IMapViewport)

Paints the element to the specified graphics.

Declaration

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

Parameters

graphics

IGraphics

The graphics.

viewport

IMapViewport

The viewport.

ViewportChanged(IMapViewport, ViewportChangeAction)

Called when the viewport changes.

Declaration

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

Parameters

viewport

IMapViewport

The viewport.

action

ViewportChangeAction

The action.