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])


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

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

Instance Attribute Details

#exifHash[String, String]?

Returns the value of attribute exif.

Returns:

  • (Hash[String, String], nil)


1342
1343
1344
# File 'sig/types.rbs', line 1342

def exif
  @exif
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1341
1342
1343
# File 'sig/types.rbs', line 1341

def format
  @format
end

#heightInteger?

Returns the value of attribute height.

Returns:

  • (Integer, nil)


1340
1341
1342
# File 'sig/types.rbs', line 1340

def height
  @height
end

#widthInteger?

Returns the value of attribute width.

Returns:

  • (Integer, nil)


1339
1340
1341
# File 'sig/types.rbs', line 1339

def width
  @width
end