Partager via


IXRRectangleGeometry (Windows Embedded CE 6.0)

1/6/2010

This class describes a graphic representation of a two-dimensional rectangle.

Syntax

class IXRRectangleGeometry : public IXRGeometry

Methods

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

Name Description

IXRRectangleGeometry::GetRadiusX

Retrieves the x-radius of the ellipse that rounds the corners of a rectangle.

IXRRectangleGeometry::GetRadiusY

Retrieves the y-radius of the ellipse that rounds the corners of a rectangle.

IXRRectangleGeometry::GetRect

Retrieves the dimensions of a rectangle.

IXRRectangleGeometry::SetRadiusX

Sets the x-radius of the ellipse that rounds the corners of a rectangle.

IXRRectangleGeometry::SetRadiusY

Sets the y-radius of the ellipse that rounds the corners of a rectangle.

IXRRectangleGeometry::SetRect

Sets the dimensions of a rectangle.

Remarks

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

  IXRGeometry

    IXRRectangleGeometry

.NET Framework Equivalent

System.Windows.Media.RectangleGeometry

Requirements

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

See Also

Reference

Classes for Visual Appearance and Behavior