Partager via


IXRPolyline (Windows Embedded CE 6.0)

1/6/2010

This class draws a series of connected straight lines.

Syntax

class IXRPolyline : public IXRShape

Methods

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

Name Description

IXRPolyline::GetFillRule

Retrieves a value that indicates how the interior is filled by the shape.

IXRPolyline::GetPoints

Retrieves a collection that contains the vertices of a shape.

IXRPolyline::SetFillRule

Sets a value that specifies how the interior is filled by the shape.

IXRPolyline::SetPoints

Sets a collection that contains the vertices of a shape.

Remarks

This object resembles IXRPolygon, except that IXRPolyline can be an open-ended shape. You can achieve the same visual result by overlapping multiple IXRLine objects.

IXRPolyline must contain a minimum of 2 points to render.

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

  IXRUIElement

    IXRFrameworkElement

      IXRShape

        IXRPolyline

.NET Framework Equivalent

System.Windows.Shapes.Polyline

Requirements

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

See Also

Reference

Classes for UI Element Management