enum

PDF::Content::GraphicsState::LineCap

Inherits Enum < Comparable < Value < Object

Line cap styles for stroking operations.

  • butt: Square end at the endpoint (default)
  • round: Semicircular arc at endpoint
  • square: Square end extended half line width beyond endpoint

Constants

Butt = 0
Round = 1
Square = 2

Instance methods

butt?

Returns true if this enum value equals Butt

Source
round?

Returns true if this enum value equals Round

Source
square?

Returns true if this enum value equals Square

Source