Class: Xberg::BBox

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBBox

Returns a new instance of BBox.

Parameters:

  • x1: (Float)
  • y1: (Float)
  • x2: (Float)
  • y2: (Float)


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

def initialize: (x1: Float, y1: Float, x2: Float, y2: Float) -> void

Instance Attribute Details

#x1Float (readonly)

Returns the value of attribute x1.

Returns:

  • (Float)


2137
2138
2139
# File 'sig/types.rbs', line 2137

def x1
  @x1
end

#x2Float (readonly)

Returns the value of attribute x2.

Returns:

  • (Float)


2139
2140
2141
# File 'sig/types.rbs', line 2139

def x2
  @x2
end

#y1Float (readonly)

Returns the value of attribute y1.

Returns:

  • (Float)


2138
2139
2140
# File 'sig/types.rbs', line 2138

def y1
  @y1
end

#y2Float (readonly)

Returns the value of attribute y2.

Returns:

  • (Float)


2140
2141
2142
# File 'sig/types.rbs', line 2140

def y2
  @y2
end