Share via


ArcSegment Class

Definition

Represents a path segment that draws an elliptical arc between two points.

public ref class ArcSegment : Microsoft::Maui::Controls::Shapes::PathSegment
public class ArcSegment : Microsoft.Maui.Controls.Shapes.PathSegment
type ArcSegment = class
    inherit PathSegment
Public Class ArcSegment
Inherits PathSegment
Inheritance

Constructors

Name Description
ArcSegment()

Initializes a new instance of the ArcSegment class.

ArcSegment(Point, Size, Double, SweepDirection, Boolean)

Initializes a new instance of the ArcSegment class with the specified arc parameters.

Fields

Name Description
IsLargeArcProperty

Bindable property for IsLargeArc.

PointProperty

Bindable property for Point.

RotationAngleProperty

Bindable property for RotationAngle.

SizeProperty

Bindable property for Size.

SweepDirectionProperty

Bindable property for SweepDirection.

Properties

Name Description
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

(Inherited from BindableObject)
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window's/app's).

(Inherited from BindableObject)
IsLargeArc

Gets or sets whether the arc should be greater than 180 degrees. This is a bindable property.

Point

Gets or sets the endpoint of the arc. This is a bindable property.

RotationAngle

Gets or sets the rotation angle of the ellipse in degrees. This is a bindable property.

Size

Gets or sets the x- and y-radius of the arc. This is a bindable property.

SweepDirection

Gets or sets the direction in which the arc is drawn (clockwise or counterclockwise). This is a bindable property.

Methods

Name Description
ApplyBindings()

Applies all the current bindings to BindingContext.

(Inherited from BindableObject)
BatchBegin()

Signals the start of a batch of property changes to avoid triggering multiple updates.

(Inherited from PathSegment)
BatchCommit()

Signals the end of a batch of property changes and applies the updates.

(Inherited from PathSegment)
ClearValue(BindableProperty)

Clears any value that is previously set for a bindable property.

(Inherited from BindableObject)
ClearValue(BindablePropertyKey)

Clears any value that is previously set for a bindable property, identified by its key.

(Inherited from BindableObject)
CoerceValue(BindableProperty)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

(Inherited from BindableObject)
CoerceValue(BindablePropertyKey)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

(Inherited from BindableObject)
GetValue(BindableProperty)

Returns the value that is contained in the given bindable property.

(Inherited from BindableObject)
IsSet(BindableProperty)

Determines whether or not a bindable property exists and has a value set.

(Inherited from BindableObject)
OnBindingContextChanged()

Raises the BindingContextChanged event.

(Inherited from BindableObject)
OnPropertyChanged(String)

Raises the PropertyChanged event.

(Inherited from BindableObject)
OnPropertyChanging(String)

Raises the PropertyChanging event.

(Inherited from BindableObject)
RemoveBinding(BindableProperty)

Removes a previously set binding from a bindable property.

(Inherited from BindableObject)
SetBinding(BindableProperty, BindingBase)

Assigns a binding to a bindable property.

(Inherited from BindableObject)
SetValue(BindableProperty, Object)

Sets the value of the specified bindable property.

(Inherited from BindableObject)
SetValue(BindablePropertyKey, Object)

Sets the value of the specified bindable property.

(Inherited from BindableObject)
UnapplyBindings()

Removes all current bindings from the current context.

(Inherited from BindableObject)

Events

Name Description
BindingContextChanged

Occurs when the value of the BindingContext property changes.

(Inherited from BindableObject)
PropertyChanged

Occurs when a property value changes.

(Inherited from BindableObject)
PropertyChanging

Occurs when a property value is changing.

(Inherited from BindableObject)

Explicit Interface Implementations

Name Description
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) (Inherited from BindableObject)

Extension Methods

Name Description
AbortAnimation(IAnimatable, String)

Stops the animation.

Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

Animates self from start to end.

Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

Animates self using the specified callback.

Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

Runs animation on self.

Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>, IAnimationManager)

Animates self using transform and callback.

AnimateKinetic(IAnimatable, String, Func<Double,Double,Boolean>, Double, Double, Action, IAnimationManager)

Sets the specified parameters and starts the kinetic animation.

AnimationIsRunning(IAnimatable, String)

Returns a Boolean value that indicates whether or not the animation that is specified by handle is running.

Batch(IAnimatable)
GetPropertyIfSet<T>(BindableObject, BindableProperty, T)
SetAppTheme<T>(BindableObject, BindableProperty, T, T)
SetAppThemeColor(BindableObject, BindableProperty, Color, Color)
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

Creates and applies a binding to a property.

SetBinding<TSource,TProperty>(BindableObject, BindableProperty, Func<TSource,TProperty>, BindingMode, IValueConverter, Object, String, Object, Object, Object)

Creates a binding between a property on the source object and a property on the target object.

Applies to