IXRArcSegment (Windows Embedded CE 6.0)
1/6/2010
This class represents an elliptical arc between two points.
Syntax
class IXRArcSegment : public IXRPathSegment
Methods
In addition to the methods inherited from IXRPathSegment, this class contains the following methods.
Name | Description |
---|---|
Retrieves a value that indicates whether the arc is more than 180 degrees. |
|
Retrieves the endpoint of the elliptical arc. |
|
Retrieves the degrees by which the object rotates the ellipse around the x-axis. |
|
Retrieves the x and y-radius of the arc as an XRSize structure. |
|
Retrieves a value that specifies whether the object draws the arc clockwise or counterclockwise. |
|
Sets a value that specifies whether the arc is more than 180 degrees. |
|
Sets the endpoint of the elliptical arc. |
|
Sets the degrees by which the object rotates the ellipse around the x-axis. |
|
Sets the x and y-radius of the arc as an XRSize structure. |
|
Sets a value that specifies whether the object draws the arc clockwise or counterclockwise. |
Remarks
Use an IXRPathFigure object to store IXRArcSegment and other segments.
An elliptical arc is defined by the following properties:
- starting point and endpoint
- x and y-radius
- x-axis rotation factor
- whether the arc is more or less than 180 degrees
- the direction in which the arc is drawn
The IXRArcSegment class does not contain a property for the starting point of the arc. The starting point of the arc is the current point of the IXRPathFigure that contains the IXRArcSegment.
You can also define an IXRArcSegment object in Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.
Inheritance Hierarchy
IXRArcSegment
.NET Framework Equivalent
System.Windows.Media.ArcSegment
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |