次の方法で共有


IXRPolygon (Windows Embedded CE 6.0)

1/6/2010

This class draws a polygon, a connected series of lines that form a closed shape.

Syntax

class IXRPolygon : public IXRShape

Methods

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

Name Description

IXRPolygon::GetFillRule

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

IXRPolygon::GetPoints

Retrieves a collection that contains the vertices of a polygon.

IXRPolygon::SetFillRule

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

IXRPolygon::SetPoints

Sets a collection that contains the vertices of a polygon.

Remarks

An IXRPolygon object with only one point cannot render. An IXRPolygon can render if it contains a minimum of two points. However, you can achieve the same result as a two-point polygon by using IXRLine.

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

        IXRPolygon

.NET Framework Equivalent

System.Windows.Shapes.Polygon

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