Class: HexaPDF::Type::Annotation::Opacity

Inherits:
Struct
  • Object
show all
Defined in:
lib/hexapdf/type/annotation.rb

Overview

Describes the opacity values fill_alpha and stroke_alpha of an annotation.

See Annotation#opacity

Instance Attribute Summary collapse

Instance Attribute Details

#fill_alphaObject

Returns the value of attribute fill_alpha

Returns:

  • (Object)

    the current value of fill_alpha



308
309
310
# File 'lib/hexapdf/type/annotation.rb', line 308

def fill_alpha
  @fill_alpha
end

#stroke_alphaObject

Returns the value of attribute stroke_alpha

Returns:

  • (Object)

    the current value of stroke_alpha



308
309
310
# File 'lib/hexapdf/type/annotation.rb', line 308

def stroke_alpha
  @stroke_alpha
end