Class: PDF::Writer::TagAlink

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

A callback to support the formation of clickable links to external locations.

### Methods

[]

### Constants

DEFAULT_STYLE | = | { :color => Color::RGB::Blue, :text_color => Color::RGB::Blue, :draw_line => true, :line_style => { :dash => PDF::Writer::StrokeStyle::SOLID_LINE }, :factor => 0.05 |  | The default anchored link style.

### Attributes

style | [RW] | Sets the style for <c:alink> callback underlines that follow. This is expected to be a hash with the following keys:
`:color`: | The colour to be applied to the link underline. Default is Color::RGB::Blue.
`:text_color`: | The colour to be applied to the link text. Default is Color::RGB::Blue.
`:factor`: | The size of the line, as a multiple of the text height. Default is 0.05.
`:draw_line`: | Whether to draw the underline as part of the link or not. Default is `true`.
`:line_style`: | The style modification hash supplied to PDF::Writer::StrokeStyle.new. The default is a solid line with normal cap, join, and miter limit values.
Set this to `nil` to get the default style.

### Public Class methods

[](pdf, info)

[Validate]