XRPenLineCap (Compact 2013)
3/28/2014
This enumeration describes the shape at the end of a line or segment.
Syntax
enum XRPenLineCap{
XRPenLineCap_Flat=0,
XRPenLineCap_Square=1,
XRPenLineCap_Round=2,
XRPenLineCap_Triangle=3,
};
Members
XRPenLineCap_Flat
A cap that does not extend past the last point of the line. Comparable to no line cap.The following illustration shows a line with flat caps.
XRPenLineCap_Square
A rectangle that has a width equal to the line thickness and a length equal to half the line thickness.The following illustration shows a line with square caps.
XRPenLineCap_Round
A semicircle that has a diameter equal to the line thickness.The following illustration shows a line with round caps.
XRPenLineCap_Triangle
An isosceles right triangle whose base length is equal to the thickness of the line.The following illustration shows a line with triangle caps.
.NET Framework Equivalent
System.Windows.Media.PenLineCap
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
XAML for Windows Embedded Enumerations
IXRShape::GetStrokeDashCap
IXRShape::SetStrokeDashCap
IXRShape::GetStrokeEndLineCap
IXRShape::SetStrokeEndLineCap
IXRShape::GetStrokeStartLineCap
IXRShape::SetStrokeStartLineCap