Method: HexaPDF::Type::OptionalContentConfiguration#ocg_on?

Defined in:
lib/hexapdf/type/optional_content_configuration.rb

#ocg_on?(ocg) ⇒ Boolean

Returns true if the given optional content group is on.



113
114
115
# File 'lib/hexapdf/type/optional_content_configuration.rb', line 113

def ocg_on?(ocg)
  ocg_state(ocg) == :on
end