module HexaPDF::DictionaryFields::RectangleConverter

Converter module for fields of type Rectangle.

See: PDF2.0 s7.9.5

Public Class Methods

additional_types()

Rectangle fields can also contain simple arrays.

convert(data, _type, document)

Wraps a given array using the Rectangle class or as a Null value if the array is invalid. Otherwise returns nil.

usable_for?(type)

This converter is usable if the type is Rectangle.