Skip to main content

MapArc Class

Definition

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents a curved arc connecting two geographic points.

public class MapArc

Inheritance: object -> AvaloniaObject -> MapLine -> MapArc

Constructors

NameDescription
MapArcNo summary available.

MapArc Constructor

public MapArc()

Methods

NameDescription
Bind (8 overloads)Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject.
CheckAccessReturns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject.
ClearValue (4 overloads)Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject.
CoerceValueCoerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject.
EqualsCompares two objects using reference equality. Inherited from AvaloniaObject.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject.
SetCurrentValue (2 overloads)Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject.
SetValue (3 overloads)Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
VerifyAccessChecks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject.

Properties

NameDescription
CurvatureGets or sets the curvature factor (0 = straight, 1 = max curve).
FromLatitudeGets or sets the starting latitude. Inherited from MapLine.
FromLongitudeGets or sets the starting longitude. Inherited from MapLine.
StrokeGets or sets the line stroke brush. Inherited from MapLine.
StrokeDashStyleGets or sets the dash style for dashed lines. Inherited from MapLine.
StrokeThicknessGets or sets the line thickness. Inherited from MapLine.
ToLatitudeGets or sets the ending latitude. Inherited from MapLine.
ToLongitudeGets or sets the ending longitude. Inherited from MapLine.
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
ItemInherited from AvaloniaObject.

Curvature Property

Gets or sets the curvature factor (0 = straight, 1 = max curve).

public double Curvature { get; set; }

Fields

NameDescription
CurvaturePropertyIdentifies the Avalonia.Controls.Charts.MapArc.Curvature Avalonia property.
FromLatitudePropertyIdentifies the Avalonia.Controls.Charts.MapLine.FromLatitude Avalonia property. Inherited from MapLine.
FromLongitudePropertyIdentifies the Avalonia.Controls.Charts.MapLine.FromLongitude Avalonia property. Inherited from MapLine.
StrokeDashStylePropertyIdentifies the Avalonia.Controls.Charts.MapLine.StrokeDashStyle Avalonia property. Inherited from MapLine.
StrokePropertyIdentifies the Avalonia.Controls.Charts.MapLine.Stroke Avalonia property. Inherited from MapLine.
StrokeThicknessPropertyIdentifies the Avalonia.Controls.Charts.MapLine.StrokeThickness Avalonia property. Inherited from MapLine.
ToLatitudePropertyIdentifies the Avalonia.Controls.Charts.MapLine.ToLatitude Avalonia property. Inherited from MapLine.
ToLongitudePropertyIdentifies the Avalonia.Controls.Charts.MapLine.ToLongitude Avalonia property. Inherited from MapLine.

CurvatureProperty Field

Identifies the Avalonia.Controls.Charts.MapArc.Curvature Avalonia property.

public Avalonia.StyledProperty<double> CurvatureProperty

Events

NameDescription
PropertyChangedRaised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject.