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)


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

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

Instance Attribute Details

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


1621
1622
1623
# File 'sig/types.rbs', line 1621

def height
  @height
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


1620
1621
1622
# File 'sig/types.rbs', line 1620

def width
  @width
end

#xInteger (readonly)

Returns the value of attribute x.

Returns:

  • (Integer)


1618
1619
1620
# File 'sig/types.rbs', line 1618

def x
  @x
end

#yInteger (readonly)

Returns the value of attribute y.

Returns:

  • (Integer)


1619
1620
1621
# File 'sig/types.rbs', line 1619

def y
  @y
end