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)


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

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

Instance Attribute Details

#x0Float (readonly)

Returns the value of attribute x0.

Returns:

  • (Float)


86
87
88
# File 'sig/types.rbs', line 86

def x0
  @x0
end

#x1Float (readonly)

Returns the value of attribute x1.

Returns:

  • (Float)


88
89
90
# File 'sig/types.rbs', line 88

def x1
  @x1
end

#y0Float (readonly)

Returns the value of attribute y0.

Returns:

  • (Float)


87
88
89
# File 'sig/types.rbs', line 87

def y0
  @y0
end

#y1Float (readonly)

Returns the value of attribute y1.

Returns:

  • (Float)


89
90
91
# File 'sig/types.rbs', line 89

def y1
  @y1
end