module HexaPDF::DictionaryFields::RectangleConverter

Converter module for fields of type Rectangle.

Public Class Methods

additional_types()

Rectangle fields can also contain simple arrays.

convert(data, _type, document)

Wraps a given array in the Rectangle class. Otherwise returns nil.

usable_for?(type)

This converter is usable if the type is Rectangle.