Absolute

final case class Absolute(deltaFromTopLeft: Pos) extends Anchor

An anchor at a custom Pos.

Value parameters:
deltaFromTopLeft

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

trait Product
trait Equals
trait Anchor
class Object
trait Matchable
class Any

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

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
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