Class: Xberg::HierarchicalBoundingBox

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHierarchicalBoundingBox

Returns a new instance of HierarchicalBoundingBox.

Parameters:

  • left: (Float)
  • top: (Float)
  • right: (Float)
  • bottom: (Float)


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

def initialize: (?left: Float, ?top: Float, ?right: Float, ?bottom: Float) -> void

Instance Attribute Details

#bottomFloat (readonly)

Returns the value of attribute bottom.

Returns:

  • (Float)


1212
1213
1214
# File 'sig/types.rbs', line 1212

def bottom
  @bottom
end

#leftFloat (readonly)

Returns the value of attribute left.

Returns:

  • (Float)


1209
1210
1211
# File 'sig/types.rbs', line 1209

def left
  @left
end

#rightFloat (readonly)

Returns the value of attribute right.

Returns:

  • (Float)


1211
1212
1213
# File 'sig/types.rbs', line 1211

def right
  @right
end

#topFloat (readonly)

Returns the value of attribute top.

Returns:

  • (Float)


1210
1211
1212
# File 'sig/types.rbs', line 1210

def top
  @top
end