Share via


IXRPathFigureCollection (Windows Embedded CE 6.0)

1/6/2010

This class represents a collection of IXRPathFigure objects that collectively make up the geometry of an IXRPathGeometry object.

Syntax

class IXRPathFigureCollection : public IXRCollection<IXRPathFigure*, IXRDependencyObject*>

Methods

IXRPathFigureCollection inherits the methods from the template class IXRCollection<In_T, Out_T>. It uses In_T parameters of type IXRPathFigure*, and uses Out_T parameters of type IXRDependencyObject*.

Remarks

IXRPathFigureCollection is used to store IXRPathFigure information for an IXRPathGeometry object. This collection contains information that together defines the geometric shape of a path object drawn on-screen.

You can obtain a pointer to this collection by calling IXRPathGeometry::GetFigures. Then, you can use the methods inherited from IXRCollection<In_T, Out_T> to add items, remove items, or retrieve items. You can also clear the complete collection by calling the inherited method IXRCollection<In_T, Out_T>::Clear.

You can also create a new collection. To do this, use the IXRApplication::CreateObject(IID,Object) method to create an empty IXRPathFigureCollection object. Then, you can use CreateObject to create multiple IXRPathFigure objects that each represent a subsection of geometry in a path object. Next, you can add each IXRPathFigure value to the IXRPathFigureCollection collection by calling the inherited method IXRCollection<In_T, Out_T>::Add. And finally, you can set the new collection for an IXRPathGeometry object by calling IXRPathGeometry::SetFigures.

You can also define a path-figure collection 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 collection in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRCollection<In_T, Out_T>

        IXRPathFigureCollection

.NET Framework Equivalent

System.Windows.Media.PathFigureCollection

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Collection Management