Absolute

o1.world.objects.Anchor.Absolute
final case class Absolute(deltaFromTopLeft: Pos) extends Anchor

An anchor at a custom Pos.

Parameters

deltaFromTopLeft

the Pos of the anchor within the anchored object, relative to the object’s top left-hand corner

Attributes

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

Members list

Keywords
  • no keywords
  • override
Inherited Not inherited +1
  • Not inherited
  • Anchor
  • Product

Value members

Concrete methods

Returns the x coordinate of the anchoring point within the given Pic or other anchorable object, relative to the object’s left edge.

Returns the x coordinate of the anchoring point within the given Pic or other anchorable object, relative to the object’s left edge.

Returns the y coordinate of the anchoring point within the given Pic or other anchorable object, relative to the object’s top edge.

Returns the y coordinate of the anchoring point within the given Pic or other anchorable object, relative to the object’s top edge.

override def toString: String

Returns a String description of the absolute anchor.

Returns a String description of the absolute anchor.

Definition Classes
Any

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