次の方法で共有


IXRPolyBezierSegment (Windows Embedded CE 6.0)

1/6/2010

This class represents one or more cubic Bézier curves.

Syntax

class IXRPolyBezierSegment : public IXRPathSegment

Methods

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

Name Description

IXRPolyBezierSegment::GetPoints

Retrieves the IXRPointCollection that defines an IXRPolyBezierSegment object.

IXRPolyBezierSegment::SetPoints

Sets the IXRPointCollection that defines an IXRPolyBezierSegment object.

Remarks

Use an IXRPathFigure object to store IXRPolyBezierSegment objects and other segments derived from IXRPathSegment.

A cubic Bézier curve is defined by four points: a starting point, an endpoint (point 3), and two control points (points 1 and 2). The starting point is the same as the endpoint of the previous segment. The two control points of a cubic Bézier curve attract parts of a line between the starting point and the endpoint and produce a curve. The curve does not necessarily pass through either of the control points.

IXRPolyBezierSegment specifies one or more cubic Bézier curves by setting the Points property to a collection of points. For a single Bézier curve, you can use IXRBezierSegment.

You can also define an IXRPolyBezierSegment 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

    IXRPolyBezierSegment

.NET Framework Equivalent

System.Windows.Media.PolyBezierSegment

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