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

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Anchor
class Object
trait Matchable
class Any
Show all

Members list

Inherited Not inherited +3
  • Not inherited
  • Anchor
  • HCenter
  • Mirror
  • Product
  • Singleton
  • Top

Type members

Value members

Inherited methods

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

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