Class Arc
A partial donut Shape class.
Inheritance
Namespace: Telerik.Windows.Shapes
Assembly: Telerik.Windows.Controls.dll
Syntax
public sealed class Arc : Shape
Constructors
Arc()
Initializes a new instance of the Arc class.
Declaration
public Arc()
Fields
ArcThicknessProperty
Using a DependencyProperty as the backing store for ArcThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ArcThicknessProperty
Field Value
System.Windows.DependencyProperty
|
CapRadiusProperty
Using a DependencyProperty as the backing store for CapRadius. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CapRadiusProperty
Field Value
System.Windows.DependencyProperty
|
DiameterProperty
Using a DependencyProperty as the backing store for Diameter. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DiameterProperty
Field Value
System.Windows.DependencyProperty
|
EndAngleProperty
Using a DependencyProperty as the backing store for EndAngle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EndAngleProperty
Field Value
System.Windows.DependencyProperty
|
MaximumProgressProperty
Using a DependencyProperty as the backing store for MaximumProgress. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MaximumProgressProperty
Field Value
System.Windows.DependencyProperty
|
MinimumProgressProperty
Using a DependencyProperty as the backing store for MinimumProgress. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MinimumProgressProperty
Field Value
System.Windows.DependencyProperty
|
ProgressProperty
Using a DependencyProperty as the backing store for Progress. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ProgressProperty
Field Value
System.Windows.DependencyProperty
|
StartAngleProperty
Using a DependencyProperty as the backing store for StartAngle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty StartAngleProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ArcThickness
Gets or sets the thickness of the arc geometry. The value is the thickness in pixels in StretchMode="None" stretch mode. When the value increases the arc geometry expands toward the center of the arc. Do not set it to more than half the Diameter.
Declaration
public double ArcThickness { get; set; }
Property Value
System.Double
|
CapRadius
Gets or sets the caps of the arc. 0 will use straight cut of a donut. Setting it to half the ArcThickness will draw geometry with circle ends of the arc. It is recommended to be in range from 0 to half the ArcThickness.
Declaration
public double CapRadius { get; set; }
Property Value
System.Double
|
DefiningGeometry
Gets the geometry rendered by the shape. For the Arc class it is a partial donut.
Declaration
protected override Geometry DefiningGeometry { get; }
Property Value
System.Windows.Media.Geometry
|
Diameter
Gets or sets the diameter of the generated arc graphic. It is recommended to use the same value for Width, Height and Diameter.
Declaration
public double Diameter { get; set; }
Property Value
System.Double
|
EndAngle
Gets or sets the angle of the end point of the arc in degrees. The default is 350 which is near the right center. ~90 will be bottom ~180 left and ~270 top.
Declaration
public double EndAngle { get; set; }
Property Value
System.Double
|
MaximumProgress
Gets or sets the maximum possible value of the Arc's Progress. It is designed to ease the Arc use in progress bars. Check the Progress property for more information.
Declaration
public double MaximumProgress { get; set; }
Property Value
System.Double
|
MinimumProgress
Gets or sets the minimum possible value of the Arc's Progress. It is designed to ease the Arc use in progress bars. Check the Progress property for more information.
Declaration
public double MinimumProgress { get; set; }
Property Value
System.Double
|
Progress
Gets or sets the percentage of the arc to be drawn. Should be in range [MaximumProgress MinimumProgress]. The arc is drawn in clockwise direction from the StartAngle towards the EndAngle. Setting this property to MaximumProgress will draw all the arc. MaximumProgress * 0.5 + MinimumProgress * 0.5 - half of it. MinimumProgress - none of it. It is designed to ease the Arc use in progress bars.
Declaration
public double Progress { get; set; }
Property Value
System.Double
|
StartAngle
Gets or sets the angle of the start point of the arc in degrees. The default is 10 which is near the right center. ~90 will be bottom ~180 left and ~270 top.
Declaration
public double StartAngle { get; set; }
Property Value
System.Double
|