IXRGeometry (Windows Embedded CE 6.0)


This class provides a base class for objects that define shapes.

class IXRGeometry : public IXRDependencyObject

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

Name Description


Retrieves the bounding box of the current object.


Retrieves the IXRTransform derived object that affects the current object.


Applies an IXRTransform derived object to the current object.

You can use IXRGeometry objects to clip regions and to define geometry for rendering two-dimensional graphic data as a path.

IXREllipseGeometry, IXRLineGeometry, and IXRRectangleGeometry are simple geometries that specify the geometrical shape as one element with basic coordinate or dimension properties. IXRGeometryGroup uses a collection of IXRGeometry objects to define a complex geometry. IXRPathGeometry uses a collection of IXRPathFigure objects to define a complex geometry.

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

Ee504078.collapse(en-US,WinEmbedded.60).gifIXRGeometry Compared to IXRShape

The IXRShape class and the classes that derive from it have rendering properties that IXRGeometry and its derived classes lack. IXRShape derives from IXRFrameworkElement and therefore can render itself. You can use its derived classes as content in any element that supports IXRUIElement children.

The geometry classes define the geometry of graphic elements and are used to define a path.


Windows Embedded CEWindows Embedded CE 6.0 R3

Community Additions