Class: Xberg::PageDimensions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageDimensions

Returns a new instance of PageDimensions.

Parameters:

  • width: (Float)
  • height: (Float)


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

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

Instance Attribute Details

#heightFloat (readonly)

Returns the value of attribute height.

Returns:

  • (Float)


1920
1921
1922
# File 'sig/types.rbs', line 1920

def height
  @height
end

#widthFloat (readonly)

Returns the value of attribute width.

Returns:

  • (Float)


1919
1920
1921
# File 'sig/types.rbs', line 1919

def width
  @width
end