Share via


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.

    Ee502118.78249377-60b7-4969-b630-bafca23e1d75(en-us,WinEmbedded.80).jpg

  • 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.

    Ee502118.01b60cc3-8010-406d-867f-767d8e09bfa7(en-us,WinEmbedded.80).jpg

  • XRPenLineCap_Round
    A semicircle that has a diameter equal to the line thickness.

    The following illustration shows a line with round caps.

    Ee502118.0b015e2a-0cd1-43e2-842f-ab033e7d60f1(en-us,WinEmbedded.80).jpg

  • 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.

    Ee502118.4dc7910b-ae0d-449f-b3b4-f54077963bbd(en-us,WinEmbedded.80).jpg

.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