Class: Xberg::ImageMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImageMetadata

Returns a new instance of ImageMetadata.

Parameters:

  • width: (Integer)
  • height: (Integer)
  • format: (String)
  • exif: (Hash[String, String])


1296
# File 'sig/types.rbs', line 1296

def initialize: (?width: Integer, ?height: Integer, ?format: String, ?exif: Hash[String, String]) -> void

Instance Attribute Details

#exifHash[String, String] (readonly)

Returns the value of attribute exif.

Returns:

  • (Hash[String, String])


1294
1295
1296
# File 'sig/types.rbs', line 1294

def exif
  @exif
end

#formatString (readonly)

Returns the value of attribute format.

Returns:

  • (String)


1293
1294
1295
# File 'sig/types.rbs', line 1293

def format
  @format
end

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


1292
1293
1294
# File 'sig/types.rbs', line 1292

def height
  @height
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


1291
1292
1293
# File 'sig/types.rbs', line 1291

def width
  @width
end