Center

case object Center extends Anchor

An anchor at the middle. This object has an alias in the top-level package o1, so it’s accessible to students simply via import o1.*.

trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait Anchor
class Object
trait Matchable
class Any
Center.type

Type members

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Singleton

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Inherited from:
Singleton
type MirroredType = Singleton.this.type
Inherited from:
Singleton

Value members

Inherited methods

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Inherited from:
Singleton

Returns the Pos of the anchoring point within the given Pic or other anchorable object, relative to the object’s top left-hand corner.

Returns the Pos of the anchoring point within the given Pic or other anchorable object, relative to the object’s top left-hand corner.

Inherited from:
Anchor
Inherited from:
HCenter (hidden)
Inherited from:
VCenter (hidden)
Inherited from:
Product

Returns an absolute anchor the Pos of the anchoring point within the given Pic or other anchorable object, relative to the object’s top left-hand corner.

Returns an absolute anchor the Pos of the anchoring point within the given Pic or other anchorable object, relative to the object’s top left-hand corner.

Inherited from:
Anchor