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.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class RectangleData : MapShapeData, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable
Constructors
RectangleData()
Declaration
public RectangleData()
Properties
Height
Gets or sets height of the rectangle in degrees.
Declaration
public double Height { get; set; }
Property Value
System.Double
|
RadiusX
Gets or sets the x-axis radius of the ellipse that is used to round the corners of the rectangle.
Declaration
public double RadiusX { get; set; }
Property Value
System.Double
|
RadiusY
Gets or sets the y-axis radius of the ellipse that is used to round the corners of the rectangle.
Declaration
public double RadiusY { get; set; }
Property Value
System.Double
|
Width
Gets or sets width of the rectangle in degrees.
Declaration
public double Width { get; set; }
Property Value
System.Double
|
Methods
CalculateLogicalCoordinates()
Calculates logical coordinates.
Declaration
protected override void CalculateLogicalCoordinates()
Overrides
GetScreenGeometry(Int32)
Calculates screen geometry.
Declaration
protected override string GetScreenGeometry(int zoomLevel)
Parameters
System.Int32
zoomLevel
Zoom level to get screen geometry for. |
Returns
System.String
String representation of the screen geometry. |
Overrides
UpdateGeoBounds()
Recalculate geographical bounds of the shape.
Declaration
protected override void UpdateGeoBounds()