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)


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

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

Instance Attribute Details

#x0Float?

Returns the value of attribute x0.

Returns:

  • (Float, nil)


1057
1058
1059
# File 'sig/types.rbs', line 1057

def x0
  @x0
end

#x1Float?

Returns the value of attribute x1.

Returns:

  • (Float, nil)


1059
1060
1061
# File 'sig/types.rbs', line 1059

def x1
  @x1
end

#y0Float?

Returns the value of attribute y0.

Returns:

  • (Float, nil)


1058
1059
1060
# File 'sig/types.rbs', line 1058

def y0
  @y0
end

#y1Float?

Returns the value of attribute y1.

Returns:

  • (Float, nil)


1060
1061
1062
# File 'sig/types.rbs', line 1060

def y1
  @y1
end