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)


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

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

Instance Attribute Details

#x0Float?

Returns the value of attribute x0.

Returns:

  • (Float, nil)


1024
1025
1026
# File 'sig/types.rbs', line 1024

def x0
  @x0
end

#x1Float?

Returns the value of attribute x1.

Returns:

  • (Float, nil)


1026
1027
1028
# File 'sig/types.rbs', line 1026

def x1
  @x1
end

#y0Float?

Returns the value of attribute y0.

Returns:

  • (Float, nil)


1025
1026
1027
# File 'sig/types.rbs', line 1025

def y0
  @y0
end

#y1Float?

Returns the value of attribute y1.

Returns:

  • (Float, nil)


1027
1028
1029
# File 'sig/types.rbs', line 1027

def y1
  @y1
end