Compartir a través de


IXRPathGeometry (Compact 2013)

3/28/2014

This class represents a complex shape composed of arcs, Bézier curves, ellipses, lines, or rectangles.

Syntax

class IXRPathGeometry : public IXRGeometry

Inheritance Hierarchy

IXRDependencyObject

  IXRGeometry

    IXRPathGeometry

Methods

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

Name

Description

IXRPathGeometry::GetFigures

Retrieves a collection of IXRPathFigure objects that describe an IXRPathGeometry.

IXRPathGeometry::GetFillRule

Indicates how IXRPathGeometry determines which subareas are inside the path and which are not.

IXRPathGeometry::SetFigures

Sets a collection of IXRPathFigure objects that describe a IXRPathGeometry.

IXRPathGeometry::SetFillRule

Specifies how IXRPathGeometry determines which subareas are inside the path and which are not.

Thread Safety

Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

Remarks

If you create a class instance, use an IXRPathGeometryPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

You can also define an IXRPathGeometry object in Microsoft Silverlight 3 XAML. For information about the differences between XAML in XAML for Windows Embedded and Silverlight 3, see Differences Between Microsoft Silverlight 3 and XAML for Windows Embedded. For more information about how to define this element in the source XAML for your application, see the PathGeometry Class on MSDN.

.NET Framework Equivalent

System.Windows.Media.PathGeometry

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Visual Appearance