class Hpdf::TextAnnotation
- Hpdf::TextAnnotation
- Hpdf::Annotation
- Reference
- Object
Defined in:
hpdf/annotation.crInstance Method Summary
-
#icon=(icon : AnnotationIcon)
defines the style of the annotation's icon.
-
#opened=(opened : Bool)
defines whether the text-annotation is initially displayed open.
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 icon=(icon : AnnotationIcon)
#
defines the style of the annotation's icon.
- icon the style of icon.
def opened=(opened : Bool)
#
defines whether the text-annotation is initially displayed open.
- opened
true
means that the annotation initially displayed open.