IXREllipseGeometry (Compact 2013)
3/28/2014
This class represents the geometry of a circle or ellipse.
Syntax
class IXREllipseGeometry : public IXRGeometry
Inheritance Hierarchy
IXREllipseGeometry
Methods
In addition to the methods inherited from IXRGeometry, this class contains the following methods.
Name |
Description |
---|---|
Retrieves the center of the ellipse. |
|
Retrieves the width of the ellipse. |
|
Retrieves the height of the ellipse. |
|
Sets the center of the ellipse. |
|
Sets the width of the ellipse. |
|
Sets the height of the ellipse. |
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
When you create a class instance, use an IXREllipseGeometryPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.
You can also define an IXREllipseGeometry 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 EllipseGeometry Class on MSDN.
IXREllipseGeometry Compared to IXREllipse
The IXREllipse class has a Fill, Stroke, and other rendering properties that are not available in IXREllipseGeometry.
The IXREllipseGeometry class defines the geometry of an ellipse only and cannot render itself.
.NET Framework Equivalent
System.Windows.Media.EllipseGeometry
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |