OELineCapΒΆ

This namespace contains constants that control how the endpoints of lines are drawn.

See also

The OELineCap namespace contains the following constants:

Default

The default line cap style is OELineCap_Round.

Butt

Closes the line off with a straight edge that’s normal (at 90 degrees to) the direction of the stroke and crosses its end. See example in Figure: Example of line drawing with ‘Butt’ line cap style.

../../_images/OELineCap_Butt.png

Example of line drawing with ‘Butt’ line cap style

Round

Produces a rounded effect on the end of the line. See example in Figure: Example of line drawing with ‘Round’ line cap style.

../../_images/OELineCap_Round.png

Example of line drawing with ‘Round’ line cap style

Square

Has the same appearance as the OELineCap_Butt style, but stretches the line slightly beyond the actual path. See example in Figure: Example of line drawing with ‘Square’ line cap style.

../../_images/OELineCap_Square.png

Example of line drawing with ‘Square’ line cap style