class Hpdf::LinkAnnotation

Defined in:

hpdf/annotation.cr

Instance Method Summary

Instance methods inherited from class Hpdf::Annotation

to_unsafe : LibHaru::Annotation to_unsafe

Constructor methods inherited from class Hpdf::Annotation

new(annotation : LibHaru::Annotation, doc : Doc, page : Page) new

Instance methods inherited from module Hpdf::Helper

bool(val : Bool) : Int32 bool, nilable_str(v : Pointer(UInt8)) : String | Nil nilable_str, real(val : Number) : LibHaru::Real real, uint(val : Number) : LibHaru::UInt uint, uint16(val : Number) : UInt16 uint16

Instance Method Detail

def highlight_mode=(mode : AnnotationHighlightMode) #

defined the appearance of when a mouse clicked on a link annotation.


[View source]
def set_border_style(width : Number, dash_on : UInt16, dash_off : UInt16) #

defines the style of the annotation's border.

  • width the width of an annotation's border.
  • dash_on, dash_off the dash style.

[View source]