O1Library Docs
Fall 2023
Docs API

# Bounds

o1.world.Bounds$
See the Bounds companion class
object Bounds

A companion object for class `Bounds`. Provides a factory method.

## Attributes

Companion
  class
Graph
Supertypes
  trait Product
  trait Mirror
  class Object
  trait Matchable
  class Any
Self type
  Bounds.type

## Members list

### Type members

#### Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

## Attributes

Inherited from:
  Mirror

type MirroredLabel <: String

The name of the type

The name of the type

## Attributes

Inherited from:
  Mirror

### Value members

#### Concrete methods

def apply(topLeft: Pos, width: Double, height: Double): Bounds

Creates a Bounds that has its top left-hand corner is at the given Pos.

Creates a Bounds that has its top left-hand corner is at the given Pos.

## Attributes

### Givens

given derived$CanEqual: CanEqual[Bounds, Bounds]