Class: Xberg::BBox
- Inherits:
-
Object
- Object
- Xberg::BBox
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#x1 ⇒ Float
readonly
Returns the value of attribute x1.
-
#x2 ⇒ Float
readonly
Returns the value of attribute x2.
-
#y1 ⇒ Float
readonly
Returns the value of attribute y1.
-
#y2 ⇒ Float
readonly
Returns the value of attribute y2.
Instance Method Summary collapse
-
#initialize ⇒ BBox
constructor
A new instance of BBox.
Constructor Details
#initialize ⇒ BBox
Returns a new instance of BBox.
2038 |
# File 'sig/types.rbs', line 2038
def initialize: (x1: Float, y1: Float, x2: Float, y2: Float) -> void
|
Instance Attribute Details
#x1 ⇒ Float (readonly)
Returns the value of attribute x1.
2033 2034 2035 |
# File 'sig/types.rbs', line 2033 def x1 @x1 end |
#x2 ⇒ Float (readonly)
Returns the value of attribute x2.
2035 2036 2037 |
# File 'sig/types.rbs', line 2035 def x2 @x2 end |
#y1 ⇒ Float (readonly)
Returns the value of attribute y1.
2034 2035 2036 |
# File 'sig/types.rbs', line 2034 def y1 @y1 end |
#y2 ⇒ Float (readonly)
Returns the value of attribute y2.
2036 2037 2038 |
# File 'sig/types.rbs', line 2036 def y2 @y2 end |