trait Layout extends Algebra

Source
Layout.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Layout
  2. Algebra
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Drawing[_]

    The effect type that methods on this algebra produce.

    The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

    Definition Classes
    Algebra

Abstract Value Members

  1. abstract def above[A](top: Drawing[A], bottom: Drawing[A])(implicit s: Semigroup[A]): Drawing[A]
  2. abstract def at[A](img: Drawing[A], landmark: Landmark): Drawing[A]

    Displace img by the given landmark relative to the origin, expanding the bounding box if necessary to include the relocated image.

  3. abstract def beside[A](left: Drawing[A], right: Drawing[A])(implicit s: Semigroup[A]): Drawing[A]
  4. implicit abstract val drawingInstance: Applicative[Drawing]
    Definition Classes
    Algebra
  5. abstract def margin[A](img: Drawing[A], top: Double, right: Double, bottom: Double, left: Double): Drawing[A]

    Expand the bounding box of img by the given amounts.

  6. abstract def on[A](top: Drawing[A], bottom: Drawing[A])(implicit s: Semigroup[A]): Drawing[A]

    Place the origin of top on the origin of bottom

  7. abstract def originAt[A](img: Drawing[A], landmark: Landmark): Drawing[A]

    Place the origin of img at the given landmark, expanding the bounding box if necessary to include the relocated origin.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def at[A](img: Drawing[A], offset: Point): Drawing[A]
  6. def at[A](img: Drawing[A], offset: Vec): Drawing[A]
  7. def at[A](img: Drawing[A], r: Double, a: Angle): Drawing[A]
  8. def at[A](img: Drawing[A], x: Double, y: Double): Drawing[A]
  9. def below[A](bottom: Drawing[A], top: Drawing[A])(implicit s: Semigroup[A]): Drawing[A]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def margin[A](img: Drawing[A], width: Double): Drawing[A]
  18. def margin[A](img: Drawing[A], width: Double, height: Double): Drawing[A]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def originAt[A](img: Drawing[A], offset: Point): Drawing[A]
  23. def originAt[A](img: Drawing[A], offset: Vec): Drawing[A]
  24. def originAt[A](img: Drawing[A], r: Double, a: Angle): Drawing[A]
  25. def originAt[A](img: Drawing[A], x: Double, y: Double): Drawing[A]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def under[A](bottom: Drawing[A], top: Drawing[A])(implicit s: Semigroup[A]): Drawing[A]
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Algebra

Inherited from AnyRef

Inherited from Any

Ungrouped