Module: HexaPDF::DictionaryFields::RectangleConverter
- Defined in:
- lib/hexapdf/dictionary_fields.rb
Overview
Converter module for fields of type Rectangle.
Class Method Summary collapse
-
.additional_types ⇒ Object
Rectangle fields can also contain simple arrays.
-
.convert(data, _type, document) ⇒ Object
Wraps a given array in the Rectangle class.
-
.usable_for?(type) ⇒ Boolean
This converter is usable if the
type
is Rectangle.
Class Method Details
.additional_types ⇒ Object
Rectangle fields can also contain simple arrays.
316 317 318 |
# File 'lib/hexapdf/dictionary_fields.rb', line 316 def self.additional_types Array end |