Partager via


IXRQuadraticBezierSegment (Windows Embedded CE 6.0)

1/6/2010

This class represents a quadratic Bézier curve between two points in an IXRPathFigure.

Syntax

class IXRQuadraticBezierSegment : public IXRPathSegment

Methods

In addition to the methods inherited from IXRDependencyObject, this class contains the following methods.

Name Description

IXRQuadraticBezierSegment::GetPoint1

Retrieves the control point of a curve.

IXRQuadraticBezierSegment::GetPoint2

Retrieves the endpoint of a curve.

IXRQuadraticBezierSegment::SetPoint1

Sets the control point of a curve.

IXRQuadraticBezierSegment::SetPoint2

Sets the endpoint of a curve.

Remarks

Use an IXRPathFigure object to create composite shapes that contain IXRQuadraticBezierSegment objects and other segments.

The IXRQuadraticBezierSegment class does not contain a property for the starting point of the line. The starting point of the line is the endpoint of the previous segment or the StartPoint of the IXRPathFigure if no previous segment exists.

You can also define an IXRQuadraticBezierSegment object in Microsoft 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

    IXRQuadraticBezierSegment

.NET Framework Equivalent

System.Windows.Media.QuadraticBezierSegment

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