Packages

object Image extends Serializable

Source
Image.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Image
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 catmulRom(points: Seq[Point], tension: Double = 0.5): Path

    Interpolate a spline (a curve) that passes through all the given points, using the Catmul Rom formulation (see, e.g., https://en.wikipedia.org/wiki/Cubic_Hermite_spline)

    Interpolate a spline (a curve) that passes through all the given points, using the Catmul Rom formulation (see, e.g., https://en.wikipedia.org/wiki/Cubic_Hermite_spline)

    The tension can be changed to control how tightly the curve turns. It defaults to 0.5.

    The Catmul Rom algorithm requires a point before and after each pair of points that define the curve. To meet this condition for the first and last points in points, they are repeated.

    If points has less than two elements an empty Path is returned.

  6. def circle(diameter: Double): Image
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def closedPath(elements: Seq[PathElement]): Path
  9. def compile[Alg <: Basic](image: Image): Picture[Alg, Unit]

    Compile an Image to a doodle.algebra.Picture

  10. val empty: Image
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def equilateralTriangle(width: Double): Image
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def interpolatingSpline(points: Seq[Point]): Path

    Construct an open path of bezier curves that intersects all the given points.

    Construct an open path of bezier curves that intersects all the given points. Defaults to catmulRom with the default tension.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def line(x: Double, y: Double): Image
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def openPath(elements: Seq[PathElement]): Path
  24. def rectangle(width: Double, height: Double): Image
  25. def regularPolygon(sides: Int, radius: Double): Image
  26. def rightArrow(width: Double, height: Double): Image
  27. def roundedRectangle(width: Double, height: Double, radius: Double): Image
  28. def square(side: Double): Image
  29. def star(points: Int, outerRadius: Double, innerRadius: Double): Image
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def text(characters: String): Image
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def triangle(width: Double, height: Double): Image
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. object Elements

    Contains the leaves of the Image algebraic data type.

    Contains the leaves of the Image algebraic data type. Packaged here so they don't pollute the namespace when importing Image to access to the smart constructors.

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped