Partager via


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

IXRArcSegment::GetIsLargeArc

Retrieves a value that indicates whether the arc is more than 180 degrees.

IXRArcSegment::GetPoint

Retrieves the endpoint of the elliptical arc.

IXRArcSegment::GetRotationAngle

Retrieves the degrees by which the object rotates the ellipse around the x-axis.

IXRArcSegment::GetSize

Retrieves the x and y-radius of the arc as an XRSize structure.

IXRArcSegment::GetSweepDirection

Retrieves a value that specifies whether the object draws the arc clockwise or counterclockwise.

IXRArcSegment::SetIsLargeArc

Sets a value that specifies whether the arc is more than 180 degrees.

IXRArcSegment::SetPoint

Sets the endpoint of the elliptical arc.

IXRArcSegment::SetRotationAngle

Sets the degrees by which the object rotates the ellipse around the x-axis.

IXRArcSegment::SetSize

Sets the x and y-radius of the arc as an XRSize structure.

IXRArcSegment::SetSweepDirection

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

IXRDependencyObject

  IXRPathSegment

    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

See Also

Reference

Classes for Visual Appearance and Behavior