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¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| StartAngle | Gets or sets the initial angle from which the arc will be drawn. |
| EndAngle | Gets or sets the final angle from which the arc will be drawn. |
| SweepDirection | Gets or sets the direction to where the arc will be drawn. |
| IsLargeArc | Gets 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¶
| Name | Summary |
|---|---|
| static StartAngleProperty | Identifies the [StartAngle](# dependency property. |
| static EndAngleProperty | Identifies the [EndAngle](# dependency property. |
| static SweepDirectionProperty | Identifies the [SweepDirection](# dependency property. |
Methods¶
| Name | Summary |
|---|---|
| static PropertyChangedCallback | Event triggered when one of the key parameters is changed. Forces the geometry to be redrawn. |
| DefinedGeometry | Get the geometry that defines this shape. |
| PointAtAngle | Draws a point on the coordinates of the given angle. |
| GetVisualChild | Overrides GetVisualChild, and returns a child at the specified index from a collection of child... |
| MeasureOverride | When overridden in a derived class, measures the size in layout required for child elements and determines a size for the... |
| ArrangeOverride | Arranges a Shape by evaluating its... |
| OnRender | Overrides the default OnRender method to draw the [Arc](# element. |