enum

PDF::Content::GraphicsState::TextRenderMode

Inherits Enum < Comparable < Value < Object

Text rendering modes.

  • fill: Fill text (default)
  • stroke: Stroke text outlines
  • fill_stroke: Fill and stroke text
  • invisible: Invisible text (useful for OCR layers)
  • fill_clip: Fill text and add to clipping path
  • stroke_clip: Stroke text and add to clipping path
  • fill_stroke_clip: Fill, stroke, and clip
  • clip: Add text to clipping path only

Constants

Fill = 0
Stroke = 1
FillStroke = 2
Invisible = 3
FillClip = 4
StrokeClip = 5
FillStrokeClip = 6
Clip = 7

Instance methods

clip?

Returns true if this enum value equals Clip

Source
fill?

Returns true if this enum value equals Fill

Source
fill_clip?

Returns true if this enum value equals FillClip

Source
fill_stroke?

Returns true if this enum value equals FillStroke

Source
fill_stroke_clip?

Returns true if this enum value equals FillStrokeClip

Source
invisible?

Returns true if this enum value equals Invisible

Source
stroke?

Returns true if this enum value equals Stroke

Source
stroke_clip?

Returns true if this enum value equals StrokeClip

Source