Skip to content

Arc class

Defined in

Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Controls.Arc Modifiers: public

Summary

        Control that draws a symmetrical arc with rounded edges.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class Arc
class Shape
Shape <|-- Arc

Inherits from: Shape

Examples

<ui:Arc
 EndAngle="359"
 StartAngle="0"
 Stroke="{ui:ThemeResource SystemAccentColorSecondaryBrush}"
 StrokeThickness="2"
 Visibility="Visible" />

Constructors

NameSummary
.ctor

Properties

NameSummary
StartAngleGets or sets the initial angle from which the arc will be drawn.
EndAngleGets or sets the final angle from which the arc will be drawn.
SweepDirectionGets or sets the direction to where the arc will be drawn.
IsLargeArcGets a value indicating whether one of the two larger arc sweeps is chosen; otherwise, if is false, one of the smaller arc sweeps is chosen.
DefiningGeometry

Fields

NameSummary
static StartAnglePropertyIdentifies the [StartAngle](# dependency property.
static EndAnglePropertyIdentifies the [EndAngle](# dependency property.
static SweepDirectionPropertyIdentifies the [SweepDirection](# dependency property.

Methods

NameSummary
static PropertyChangedCallbackEvent triggered when one of the key parameters is changed. Forces the geometry to be redrawn.
DefinedGeometryGet the geometry that defines this shape.
PointAtAngleDraws a point on the coordinates of the given angle.
GetVisualChildOverrides GetVisualChild, and returns a child at the specified index from a collection of child...
MeasureOverrideWhen overridden in a derived class, measures the size in layout required for child elements and determines a size for the...
ArrangeOverrideArranges a Shape by evaluating its...
OnRenderOverrides the default OnRender method to draw the [Arc](# element.
Inherited members