enum

Hpdf::LineCap

Inherits Enum / Comparable / Value / Object

used in Page#line_cap=.

Constants

ButtEnd = 0

The line is squared off at the endpoint of the path.

http://libharu.sourceforge.net/image/figure10.png

RoundEnd = 1

The end of a line becomes a semicircle whose center is the end point of the path.

http://libharu.sourceforge.net/image/figure11.png

ProjectingScuareEnd = 2

The line continues to the point that exceeds half of the stroke width the endpoint.

http://libharu.sourceforge.net/image/figure12.png

Instance methods

butt_end?

Returns true if this enum value equals ButtEnd

Source
projecting_scuare_end?

Returns true if this enum value equals ProjectingScuareEnd

Source
round_end?

Returns true if this enum value equals RoundEnd

Source