Class: Xberg::PixelDimensions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePixelDimensions

Returns a new instance of PixelDimensions.

Parameters:

  • width: (Integer)
  • height: (Integer)


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

def initialize: (?width: Integer, ?height: Integer) -> void

Instance Attribute Details

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


2065
2066
2067
# File 'sig/types.rbs', line 2065

def height
  @height
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


2064
2065
2066
# File 'sig/types.rbs', line 2064

def width
  @width
end