IXRLine (Windows Embedded CE 6.0)
1/6/2010
This class draws a straight line between two points.
Syntax
class IXRLine : public IXRShape
Methods
Method | Description |
---|---|
Retrieves the x-coordinate of the IXRLine starting point. |
|
Retrieves the x-coordinate of the IXRLine endpoint. |
|
Retrieves the y-coordinate of the IXRLine starting point. |
|
Retrieves the y-coordinate of the IXRLine endpoint. |
|
Sets the x-coordinate of the IXRLine starting point. |
|
Sets the x-coordinate of the IXRLine endpoint. |
|
Sets the y-coordinate of the IXRLine starting point. |
|
Sets the y-coordinate of the IXRLine endpoint. |
Remarks
Basic shapes such as a line do not support a Bézier curve. To draw a Bézier curve, you can use an IXRPath and set the data to one of the Bézier geometries.
You can also define a line 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
IXRLine
.NET Framework Equivalent
System.Windows.Shapes.Line
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