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

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

Members list

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.

Attributes

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.

Attributes

override def toString: String

Returns a String description of the absolute anchor.

Returns a String description of the absolute anchor.

Attributes

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.

Attributes

Inherited from:
Anchor

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