Class: Xberg::QrBoundingBox

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeQrBoundingBox

Returns a new instance of QrBoundingBox.

Parameters:

  • x: (Integer)
  • y: (Integer)
  • width: (Integer)
  • height: (Integer)


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

def initialize: (x: Integer, y: Integer, width: Integer, height: Integer) -> void

Instance Attribute Details

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


1632
1633
1634
# File 'sig/types.rbs', line 1632

def height
  @height
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


1631
1632
1633
# File 'sig/types.rbs', line 1631

def width
  @width
end

#xInteger (readonly)

Returns the value of attribute x.

Returns:

  • (Integer)


1629
1630
1631
# File 'sig/types.rbs', line 1629

def x
  @x
end

#yInteger (readonly)

Returns the value of attribute y.

Returns:

  • (Integer)


1630
1631
1632
# File 'sig/types.rbs', line 1630

def y
  @y
end