Class
RectangleData

Represents rectangle given in the geographical coordinates. Width and Height properties sets size of the rectangle in the degrees. The RadiusX and RadiusY properties are set in degrees as well.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class RectangleData : MapShapeData, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable

Inheritance: objectExtendedDataProviderMapShapeDataRectangleData

Implements: IColorableIExtendedDataIGeoSizeProviderINotifyPropertyChanged

Inherited Members MapShapeData.BeginInit()MapShapeData.EndInit()MapShapeData.EndInit(bool)MapShapeData.UseHighlightFill()MapShapeData.UseRegularFill()MapShapeData.UseSelectedFill()MapShapeData.Arrange()MapShapeData.SetLogicalWidth(int)MapShapeData.UpdateShape()MapShapeData.ActiveShapeFillMapShapeData.GeoBoundsMapShapeData.GeometryMapShapeData.GeoSizeMapShapeData.HighlightFillMapShapeData.IsHighlightedMapShapeData.IsSelectedMapShapeData.RenderTransformMapShapeData.RenderTransformOriginMapShapeData.SelectedFillMapShapeData.SerializedHighlightFillMapShapeData.SerializedShapeFillMapShapeData.SerializedSelectedFillMapShapeData.ShapeFillMapShapeData.SpatialReferenceMapShapeData.ToScreenParametersMapShapeData.TransformMapShapeData.WrapperMapShapeData.InitStartedExtendedDataProvider.OnPropertyChanged(string)ExtendedDataProvider.ExtendedDataExtendedDataProvider.LayerExtendedDataProvider.LocationExtendedDataProvider.ToolTipFormatExtendedDataProvider.ToolTipTemplateExtendedDataProvider.ToolTipStyleExtendedDataProvider.ZIndexExtendedDataProvider.PropertyChanged

Constructors

RectangleData()

Declaration

cs-api-definition
public RectangleData()

Properties

Height

Gets or sets height of the rectangle in degrees.

Declaration

cs-api-definition
public double Height { get; set; }

Property Value

double

RadiusX

Gets or sets the x-axis radius of the ellipse that is used to round the corners of the rectangle.

Declaration

cs-api-definition
public double RadiusX { get; set; }

Property Value

double

RadiusY

Gets or sets the y-axis radius of the ellipse that is used to round the corners of the rectangle.

Declaration

cs-api-definition
public double RadiusY { get; set; }

Property Value

double

Width

Gets or sets width of the rectangle in degrees.

Declaration

cs-api-definition
public double Width { get; set; }

Property Value

double

Methods

CalculateLogicalCoordinates()

Calculates logical coordinates.

Declaration

cs-api-definition
protected override void CalculateLogicalCoordinates()

Overrides MapShapeData.CalculateLogicalCoordinates()

GetScreenGeometry(int)

Calculates screen geometry.

Declaration

cs-api-definition
protected override string GetScreenGeometry(int zoomLevel)

Parameters

zoomLevel

int

Zoom level to get screen geometry for.

Returns

string

String representation of the screen geometry.

Overrides MapShapeData.GetScreenGeometry(int)

UpdateGeoBounds()

Recalculate geographical bounds of the shape.

Declaration

cs-api-definition
protected override void UpdateGeoBounds()

Overrides MapShapeData.UpdateGeoBounds()