ClassMapVisualElement
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
MapVisualElement()
Initializes a new instance of the MapVisualElement class.
Declaration
public MapVisualElement()
Properties
BackColor
Declaration
public virtual Color BackColor { get; set; }
Property Value
Implements
BackColor2
Declaration
public virtual Color BackColor2 { get; set; }
Property Value
Implements
BackColor3
Declaration
public virtual Color BackColor3 { get; set; }
Property Value
Implements
BackColor4
Declaration
public virtual Color BackColor4 { get; set; }
Property Value
Implements
BorderDashPattern
Declaration
public virtual float[] BorderDashPattern { get; set; }
Property Value
float[]
Implements
BorderDashStyle
Declaration
public virtual DashStyle BorderDashStyle { get; set; }
Property Value
Implements
BorderDrawMode
Declaration
public virtual BorderDrawModes BorderDrawMode { get; set; }
Property Value
Implements
BorderSize
Gets a value indicating the border size.
Declaration
public virtual SizeF BorderSize { get; set; }
Property Value
Implements
BottomColor
Declaration
public virtual Color BottomColor { get; set; }
Property Value
Implements
BottomShadowColor
Declaration
public virtual Color BottomShadowColor { get; set; }
Property Value
Implements
BottomWidth
Gets or sets a value indicating the botton width.
Declaration
public virtual float BottomWidth { get; set; }
Property Value
Implements
BoxStyle
Declaration
public virtual BorderBoxStyle BoxStyle { get; set; }
Property Value
Implements
Font
Gets or sets the font.
Declaration
public virtual Font Font { get; set; }
Property Value
The font.
Implements
ForeColor
Gets or sets the fore color.
Declaration
public virtual Color ForeColor { get; set; }
Property Value
The fore color.
Implements
GeographicBounds
Gets the geographic bounds.
Declaration
public virtual RectangleG GeographicBounds { get; }
Property Value
The geographic bounds.
Implements
GradientAngle
Declaration
public virtual float GradientAngle { get; set; }
Property Value
Implements
GradientPercentage
Declaration
public virtual float GradientPercentage { get; set; }
Property Value
Implements
GradientPercentage2
Declaration
public virtual float GradientPercentage2 { get; set; }
Property Value
Implements
GradientStyle
Declaration
public virtual GradientStyles GradientStyle { get; set; }
Property Value
Implements
HorizontalWidth
Gets a value indicating the horizontal width.
Declaration
public virtual float HorizontalWidth { get; set; }
Property Value
Implements
InnerColor
Declaration
public virtual Color InnerColor { get; set; }
Property Value
Implements
InnerColor2
Declaration
public virtual Color InnerColor2 { get; set; }
Property Value
Implements
InnerColor3
Declaration
public virtual Color InnerColor3 { get; set; }
Property Value
Implements
InnerColor4
Declaration
public virtual Color InnerColor4 { get; set; }
Property Value
Implements
IsInViewport
Gets a value indicating whether this instance is visible in the viewport.
Declaration
public abstract bool IsInViewport { get; }
Property Value
true if this instance is visible in the viewport.; otherwise, false.
IsSelected
Gets a value indicating whether this instance is selected.
Declaration
public virtual bool IsSelected { get; }
Property Value
true if this instance is selected; otherwise, false.
IsVisible
Gets or sets a value indicating whether this instance is visible.
Declaration
public virtual bool IsVisible { get; set; }
Property Value
true if this instance is visible; otherwise, false.
Layer
Gets the layer this element is added to.
LeftColor
Declaration
public virtual Color LeftColor { get; set; }
Property Value
Implements
LeftShadowColor
Declaration
public virtual Color LeftShadowColor { get; set; }
Property Value
Implements
LeftWidth
Gets or sets a value indicating the left width.
Declaration
public virtual float LeftWidth { get; set; }
Property Value
Implements
Location
Gets or sets the location.
Declaration
public virtual PointG Location { get; set; }
Property Value
The location.
Implements
NumberOfColors
Declaration
public virtual int NumberOfColors { get; set; }
Property Value
Implements
Offset
Gets a value indicating the offset.
Declaration
public virtual SizeF Offset { get; set; }
Property Value
Implements
RawResource
Declaration
public virtual object RawResource { get; set; }
Property Value
Implements
RightColor
Declaration
public virtual Color RightColor { get; set; }
Property Value
Implements
RightShadowColor
Declaration
public virtual Color RightShadowColor { get; set; }
Property Value
Implements
RightWidth
Gets or sets a value indicating the right width.
Declaration
public virtual float RightWidth { get; set; }
Property Value
Implements
SmoothingMode
Declaration
public virtual SmoothingMode SmoothingMode { get; set; }
Property Value
Implements
Text
Gets or sets the text.
Declaration
public virtual string Text { get; set; }
Property Value
The text.
Implements
ToolTipText
Gets or sets the text of the tool tip for this element.
Declaration
public virtual string ToolTipText { get; set; }
Property Value
The tool tip text.
Implements
TopColor
Declaration
public virtual Color TopColor { get; set; }
Property Value
Implements
TopShadowColor
Declaration
public virtual Color TopShadowColor { get; set; }
Property Value
Implements
TopWidth
Gets or sets a value indicating the top width.
Declaration
public virtual float TopWidth { get; set; }
Property Value
Implements
VerticalWidth
Gets a value indicating the vertical width.
Declaration
public virtual float VerticalWidth { get; set; }
Property Value
Implements
Methods
GetCurrentShape()
Declaration
public virtual ElementShape GetCurrentShape()
Returns
Implements
GetGeographicBounds()
Gets the geographic bounds of elements that consist of more than one figure.
Declaration
public virtual RectangleG[] GetGeographicBounds()
Returns
RectangleG[].
HitTest(PointG, PointL, IMapViewport)
Hit tests the element.
Declaration
public virtual bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)
Parameters
pointG
The point g.
pointL
The point l.
viewport
The viewport.
Returns
true if XXXX, false otherwise.
Paint(IGraphics, IMapViewport)
Paints the element to the specified graphics.
Declaration
public abstract void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
graphics
The graphics.
viewport
The viewport.
ViewportChanged(IMapViewport, ViewportChangeAction)
Called when the viewport changes.
Declaration
public abstract void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters
viewport
The viewport.
action
The action.