Sha256: eeab5623feadeb10dec5efa913fb55cd57a5a3beefaaf18ac961b756f5e0d218
Contents?: true
Size: 514 Bytes
Versions: 12
Compression:
Stored size: 514 Bytes
Contents
module IIIF::Image module Size # The width and height of the returned image are exactly w and h. # The aspect ratio of the returned image may be different than the extracted # region, resulting in a distorted image. class Absolute # @param [Integer] width # @param [Integer] height def initialize(width, height) @width = width @height = height end attr_reader :height, :width def to_s "#{width},#{height}" end end end end
Version data entries
12 entries across 12 versions & 2 rubygems