Class PDF::Writer::TagUline
In: lib/pdf/writer.rb
Parent: Object

A callback to support underlining.

Methods

[]  

Constants

DEFAULT_STYLE = { :color => nil, :line_style => { :dash => PDF::Writer::StrokeStyle::SOLID_LINE }, :factor => 0.05   The default underline style.

Attributes

style  [RW]  Sets the style for <c:uline> callback underlines that follow. This is expected to be a hash with the following keys:
:factor:The size of the line, as a multiple of the text height. Default is 0.05.

Set this to nil to get the default style.

Public Class methods

[Validate]