Show / Hide Table of Contents

Class ArcSegment

Represents an elliptical arc between two points.

Inheritance
System.Object
DependencyObject
PathSegment
ArcSegment
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class ArcSegment : PathSegment, IDependencyObject

Constructors

| Improve this Doc View Source

ArcSegment()

Initializes a new instance of the ArcSegment class.

Declaration
public ArcSegment()

Fields

| Improve this Doc View Source

IsLargeArcProperty

Identifies the IsLargeArc dependency property.

Declaration
public static readonly DependencyProperty IsLargeArcProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

PointProperty

Identifies the Point dependency property.

Declaration
public static readonly DependencyProperty PointProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RotationAngleProperty

Identifies the RotationAngle dependency property.

Declaration
public static readonly DependencyProperty RotationAngleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SizeProperty

Identifies the Size dependency property.

Declaration
public static readonly DependencyProperty SizeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SweepDirectionProperty

Identifies the SweepDirection dependency property.

Declaration
public static readonly DependencyProperty SweepDirectionProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

IsLargeArc

Gets or sets a value that indicates whether the arc should be greater than 180 degrees.

Declaration
public bool IsLargeArc { get; set; }
Property Value
Type Description
System.Boolean

true if the arc should be greater than 180 degrees; otherwise, false. The default is false.

| Improve this Doc View Source

Point

Gets or sets the endpoint of the elliptical arc.

Declaration
public Point Point { get; set; }
Property Value
Type Description
Point

The point to which the arc is drawn. The default is a Point with value 0,0.

| Improve this Doc View Source

RotationAngle

Gets or sets the amount (in degrees) by which the ellipse is rotated about the x-axis.

Declaration
public double RotationAngle { get; set; }
Property Value
Type Description
System.Double

The amount (in degrees) by which the ellipse is rotated about the x-axis. The default value is 0.

| Improve this Doc View Source

Size

Gets or sets the x- and y-radius of the arc as a Size structure.

Declaration
public Size Size { get; set; }
Property Value
Type Description
Size

A Size structure that describes the x- and y-radius of the elliptical arc. The Size structure's Width property specifies the arc's x-radius; its Height property specifies the arc's y-radius. The default is a Size with value 0,0.

| Improve this Doc View Source

SweepDirection

Gets or sets a value that specifies whether the arc is drawn in the Clockwise or Counterclockwise direction.

Declaration
public SweepDirection SweepDirection { get; set; }
Property Value
Type Description
SweepDirection

One of the enumeration values that specifies the direction in which the arc is drawn. The default is Counterclockwise.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source