TopCenter

o1.world.objects.Anchor$.TopCenter$
case object TopCenter extends Anchor

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Anchor
class Object
trait Matchable
class Any
Show all
Self type
TopCenter.type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton

The name of the type

The name of the type

Attributes

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

The mirrored *-type

The mirrored *-type

Attributes

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

Attributes

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.

Attributes

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.

Attributes

Inherited from:
Anchor

Attributes

Inherited from:
HCenter (hidden)

Attributes

Inherited from:
Top (hidden)

Attributes

Inherited from:
Product

Attributes

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.

Attributes

Inherited from:
Anchor