class Hpdf::Annotation

Overview

There are three type of annotation-object on Haru. First is the text-annotation which represents a "sticky note". Second is the link-annotation which represents a hypertext link to a destination. And third is the URI-link-annotation which represents a hypertext link to a web page. The annotation handle is used to set properties of an annotation object.

Included Modules

Direct Known Subclasses

Defined in:

hpdf/annotation.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(annotation : LibHaru::Annotation, doc : Doc, page : Page) #

[View source]

Instance Method Detail

def to_unsafe : LibHaru::Annotation #

[View source]