MapVisualElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public abstract class MapVisualElement : IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement
Inheritance: objectMapVisualElement
Derived Classes:
Implements:
Constructors
Initializes a new instance of the MapVisualElement class.
public MapVisualElement()
Properties
public virtual Color BackColor2 { get; set; }
Implements:
public virtual Color BackColor3 { get; set; }
Implements:
public virtual Color BackColor4 { get; set; }
Implements:
public Color BorderColor { get; set; }
public virtual Color BorderColor2 { get; set; }
public virtual Color BorderColor3 { get; set; }
public virtual Color BorderColor4 { get; set; }
public virtual float[] BorderDashPattern { get; set; }
Implements:
public virtual DashStyle BorderDashStyle { get; set; }
Implements:
public virtual BorderDrawModes BorderDrawMode { get; set; }
Implements:
Gets a value indicating the border size.
public virtual SizeF BorderSize { get; set; }
Implements:
public virtual float BorderWidth { get; set; }
public virtual Color BottomColor { get; set; }
Implements:
public virtual Color BottomShadowColor { get; set; }
Implements:
Gets or sets a value indicating the botton width.
public virtual float BottomWidth { get; set; }
Implements:
public virtual BorderBoxStyle BoxStyle { get; set; }
Implements:
Gets or sets the font.
public virtual Font Font { get; set; }
The font.
Implements:
Gets or sets the fore color.
public virtual Color ForeColor { get; set; }
The fore color.
Implements:
Gets the geographic bounds.
public virtual RectangleG GeographicBounds { get; }
The geographic bounds.
Implements:
public virtual float GradientAngle { get; set; }
Implements:
public virtual float GradientPercentage { get; set; }
Implements:
public virtual float GradientPercentage2 { get; set; }
Implements:
public virtual GradientStyles GradientStyle { get; set; }
Implements:
Gets a value indicating the horizontal width.
public virtual float HorizontalWidth { get; set; }
Implements:
public virtual Color InnerColor { get; set; }
Implements:
public virtual Color InnerColor2 { get; set; }
Implements:
public virtual Color InnerColor3 { get; set; }
Implements:
public virtual Color InnerColor4 { get; set; }
Implements:
Gets a value indicating whether this instance is visible in the viewport.
public abstract bool IsInViewport { get; }
true if this instance is visible in the viewport.; otherwise, false.
Gets a value indicating whether this instance is selected.
public virtual bool IsSelected { get; }
true if this instance is selected; otherwise, false.
Gets or sets a value indicating whether this instance is visible.
public virtual bool IsVisible { get; set; }
true if this instance is visible; otherwise, false.
Gets the layer this element is added to.
public MapLayer Layer { get; }
The layer.
public virtual Color LeftShadowColor { get; set; }
Implements:
Gets or sets a value indicating the left width.
public virtual float LeftWidth { get; set; }
Implements:
Gets or sets the location.
public virtual PointG Location { get; set; }
The location.
Implements:
public virtual int NumberOfColors { get; set; }
Implements:
Gets a value indicating the offset.
public virtual SizeF Offset { get; set; }
Implements:
public virtual object RawResource { get; set; }
Implements:
public virtual Color RightColor { get; set; }
Implements:
public virtual Color RightShadowColor { get; set; }
Implements:
Gets or sets a value indicating the right width.
public virtual float RightWidth { get; set; }
Implements:
public ElementShape Shape { get; set; }
public virtual SmoothingMode SmoothingMode { get; set; }
Implements:
Gets or sets the text.
public virtual string Text { get; set; }
The text.
Implements:
Gets or sets the text of the tool tip for this element.
public virtual string ToolTipText { get; set; }
The tool tip text.
Implements:
public virtual Color TopShadowColor { get; set; }
Implements:
Gets or sets a value indicating the top width.
public virtual float TopWidth { get; set; }
Implements:
Gets a value indicating the vertical width.
public virtual float VerticalWidth { get; set; }
Implements:
Methods
Gets the geographic bounds of elements that consist of more than one figure.
Hit tests the element.
public virtual bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)
The point g.
pointLPointLThe point l.
viewportIMapViewportThe viewport.
Returns:true if XXXX, false otherwise.
Paints the element to the specified graphics.
public abstract void Paint(IGraphics graphics, IMapViewport viewport)
The graphics.
viewportIMapViewportThe viewport.
Called when the viewport changes.
public abstract void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
The viewport.
actionViewportChangeActionThe action.