Class: Xberg::BoundingBox

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBoundingBox

Returns a new instance of BoundingBox.

Parameters:

  • x0: (Float)
  • y0: (Float)
  • x1: (Float)
  • y1: (Float)


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

def initialize: (?x0: Float, ?y0: Float, ?x1: Float, ?y1: Float) -> void

Instance Attribute Details

#x0Float?

Returns the value of attribute x0.

Returns:

  • (Float, nil)


1013
1014
1015
# File 'sig/types.rbs', line 1013

def x0
  @x0
end

#x1Float?

Returns the value of attribute x1.

Returns:

  • (Float, nil)


1015
1016
1017
# File 'sig/types.rbs', line 1015

def x1
  @x1
end

#y0Float?

Returns the value of attribute y0.

Returns:

  • (Float, nil)


1014
1015
1016
# File 'sig/types.rbs', line 1014

def y0
  @y0
end

#y1Float?

Returns the value of attribute y1.

Returns:

  • (Float, nil)


1016
1017
1018
# File 'sig/types.rbs', line 1016

def y1
  @y1
end