Compartilhar via


IXRPathFigure (Compact 2013)

3/28/2014

This class represents a single, connected series of two-dimensional geometric segments.

Syntax

class IXRPathFigure : public IXRDependencyObject

Inheritance Hierarchy

IXRDependencyObject

  IXRPathFigure

Methods

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

Name

Description

IXRPathFigure::GetIsClosed

Indicates whether the first and last segments of a figure connect.

IXRPathFigure::GetIsFilled

Indicates whether an IXRPathFigure includes the contained area or is only an outline.

IXRPathFigure::GetSegments

Retrieves a collection of segments that defines the shape of an IXRPathFigure object.

IXRPathFigure::GetStartPoint

Retrieves the point where an IXRPathFigure begins.

IXRPathFigure::SetIsClosed

Specifies whether the first and last segments of a figure connect.

IXRPathFigure::SetIsFilled

Specifies whether an IXRPathFigure includes the contained area or is only an outline.

IXRPathFigure::SetSegments

Sets the collection of segments that defines the shape of an IXRPathFigure object.

IXRPathFigure::SetStartPoint

Specifies the point where the IXRPathFigure begins.

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 IXRPathFigurePtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

You can also define an IXRPathFigure 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 PathFigure Class on MSDN.

.NET Framework Equivalent

System.Windows.Media.PathFigure

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Visual Appearance