Packages

trait ReifiedShape extends GenericShape[Reification]

Self Type
Algebra { type Drawing[A] <: doodle.java2d.Drawing[A] }
Source
ReifiedShape.scala
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReifiedShape
  2. GenericShape
  3. Shape
  4. Algebra
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait ShapeApi extends AnyRef
    Definition Classes
    GenericShape
  2. 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. implicit abstract val drawingInstance: Applicative[(ReifiedShape.this)#Drawing]
    Definition Classes
    Algebra

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 circle(diameter: Double): Finalized[Reification, Unit]

    A circle with the given diameter.

    A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)

    Definition Classes
    GenericShapeShape
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def empty: Finalized[Reification, Unit]

    The empty shape, which is no shape at all.

    The empty shape, which is no shape at all.

    Definition Classes
    GenericShapeShape
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def rectangle(width: Double, height: Double): Finalized[Reification, Unit]

    A rectangle with the given width and height.

    A rectangle with the given width and height.

    Definition Classes
    GenericShapeShape
  18. def square(width: Double): Finalized[Reification, Unit]

    A square with the given side length.

    A square with the given side length.

    Definition Classes
    GenericShapeShape
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def triangle(width: Double, height: Double): Finalized[Reification, Unit]

    An isoceles triangle with the given width and height.

    An isoceles triangle with the given width and height.

    Definition Classes
    GenericShapeShape
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. object ShapeApi extends (ReifiedShape.this)#ShapeApi
    Definition Classes
    ReifiedShapeGenericShape

Inherited from GenericShape[Reification]

Inherited from Shape

Inherited from algebra.Algebra

Inherited from AnyRef

Inherited from Any

Ungrouped