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)


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

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

Instance Attribute Details

#x0Float?

Returns the value of attribute x0.

Returns:

  • (Float, nil)


1052
1053
1054
# File 'sig/types.rbs', line 1052

def x0
  @x0
end

#x1Float?

Returns the value of attribute x1.

Returns:

  • (Float, nil)


1054
1055
1056
# File 'sig/types.rbs', line 1054

def x1
  @x1
end

#y0Float?

Returns the value of attribute y0.

Returns:

  • (Float, nil)


1053
1054
1055
# File 'sig/types.rbs', line 1053

def y0
  @y0
end

#y1Float?

Returns the value of attribute y1.

Returns:

  • (Float, nil)


1055
1056
1057
# File 'sig/types.rbs', line 1055

def y1
  @y1
end