Packages

final class JsAlgebra extends BaseAlgebra with HasTextBoundingBox with MouseOver with Text

Linear Supertypes
JsAlgebraModule.Text, GenericText[JsAlgebraModule.SvgResult], algebra.Text[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]], JsAlgebraModule.MouseOver, interact.algebra.MouseOver[JsAlgebraModule.Drawing], HasTextBoundingBox, JsAlgebraModule.BaseAlgebra, Basic[JsAlgebraModule.Drawing], GivenFunctor[JsAlgebraModule.SvgResult], GivenApply[JsAlgebraModule.SvgResult], GenericTransform[JsAlgebraModule.SvgResult], Transform[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]], GenericStyle[JsAlgebraModule.SvgResult], Style[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]], GenericSize[JsAlgebraModule.SvgResult], GenericLayout[JsAlgebraModule.SvgResult], GenericDebug[JsAlgebraModule.SvgResult], Debug[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]], JsAlgebraModule.Path, GenericPath[JsAlgebraModule.SvgResult], algebra.Path[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]], JsAlgebraModule.Shape, GenericShape[JsAlgebraModule.SvgResult], algebra.Shape[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]], Size[JsAlgebraModule.Drawing], Layout[JsAlgebraModule.Drawing], algebra.Algebra[JsAlgebraModule.Drawing], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsAlgebra
  2. Text
  3. GenericText
  4. Text
  5. MouseOver
  6. MouseOver
  7. HasTextBoundingBox
  8. BaseAlgebra
  9. Basic
  10. GivenFunctor
  11. GivenApply
  12. GenericTransform
  13. Transform
  14. GenericStyle
  15. Style
  16. GenericSize
  17. GenericLayout
  18. GenericDebug
  19. Debug
  20. Path
  21. GenericPath
  22. Path
  23. Shape
  24. GenericShape
  25. Shape
  26. Size
  27. Layout
  28. Algebra
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JsAlgebra(canvas: effect.Canvas, applyF: Apply[JsAlgebraModule.SvgResult], functorF: Functor[JsAlgebraModule.SvgResult])

Type Members

  1. trait PathApi extends AnyRef
    Definition Classes
    GenericPath
  2. trait ShapeApi extends AnyRef
    Definition Classes
    GenericShape
  3. trait TextApi extends AnyRef
    Definition Classes
    GenericText

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. val TextApi: TextApi { type Bounds = org.scalajs.dom.svg.Rect }
    Definition Classes
    Text → GenericText
  5. def above[A](top: Finalized[JsAlgebraModule.SvgResult, A], bottom: Finalized[JsAlgebraModule.SvgResult, A])(implicit s: Semigroup[A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericLayout → Layout
  6. val applyF: Apply[JsAlgebraModule.SvgResult]
    Definition Classes
    JsAlgebra → GivenApply
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def at[A](img: Finalized[JsAlgebraModule.SvgResult, A], x: Double, y: Double): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericLayout → Layout
  9. def at[A](img: JsAlgebraModule.Drawing[A], offset: Point): JsAlgebraModule.Drawing[A]
    Definition Classes
    Layout
  10. def at[A](img: JsAlgebraModule.Drawing[A], offset: Vec): JsAlgebraModule.Drawing[A]
    Definition Classes
    Layout
  11. def at[A](img: JsAlgebraModule.Drawing[A], r: Double, a: Angle): JsAlgebraModule.Drawing[A]
    Definition Classes
    Layout
  12. def below[A](bottom: JsAlgebraModule.Drawing[A], top: JsAlgebraModule.Drawing[A])(implicit s: Semigroup[A]): JsAlgebraModule.Drawing[A]
    Definition Classes
    Layout
  13. def beside[A](left: Finalized[JsAlgebraModule.SvgResult, A], right: Finalized[JsAlgebraModule.SvgResult, A])(implicit s: Semigroup[A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericLayout → Layout
  14. def boundingBox[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, BoundingBox]
    Definition Classes
    GenericSize → Size
  15. def boundingBox(elements: List[PathElement]): BoundingBox
    Definition Classes
    GenericPath
  16. val canvas: effect.Canvas
  17. def catmulRom(points: Seq[Point], tension: Double): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[Unit]])]
    Definition Classes
    Path
  18. def circle(diameter: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. val counter: Int
    Definition Classes
    MouseOver
  21. def debug[A](picture: Finalized[JsAlgebraModule.SvgResult, A], color: Color): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericDebug → Debug
  22. def empty: Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. def fillColor[A](image: Finalized[JsAlgebraModule.SvgResult, A], fillColor: Color): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  26. def fillGradient[A](image: Finalized[JsAlgebraModule.SvgResult, A], fillGradient: Gradient): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  28. def font[A](image: Finalized[JsAlgebraModule.SvgResult, A], font: Font): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericText → Text
  29. val functorF: Functor[JsAlgebraModule.SvgResult]
    Definition Classes
    JsAlgebra → GivenFunctor
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def height[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, Double]
    Definition Classes
    GenericSize → Size
  33. def horizontalReflection[A](img: IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]
    Definition Classes
    Transform
  34. def interpolatingSpline(points: Seq[Point]): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[Unit]])]
    Definition Classes
    Path
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def mouseOver[A](img: JsAlgebraModule.Drawing[A]): (JsAlgebraModule.Drawing[A], Observable[Unit])
    Definition Classes
    MouseOver → MouseOver
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def noDash[A](image: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  39. def noFill[A](image: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  40. def noStroke[A](image: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. def on[A](top: Finalized[JsAlgebraModule.SvgResult, A], bottom: Finalized[JsAlgebraModule.SvgResult, A])(implicit s: Semigroup[A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericLayout → Layout
  44. def path(path: OpenPath): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericPath → Path
  45. def path(path: ClosedPath): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericPath → Path
  46. def rectangle(width: Double, height: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  47. def regularPolygon(sides: Int, radius: Double, angle: Angle): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[Unit]])]
    Definition Classes
    Path
  48. def rotate[A](img: IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])], angle: Angle): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]
    Definition Classes
    Transform
  49. def roundedRectangle(width: Double, height: Double, radius: Double): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[Unit]])]
    Definition Classes
    Path
  50. def scale[A](img: IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])], x: Double, y: Double): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]
    Definition Classes
    Transform
  51. def size[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, (Double, Double)]
    Definition Classes
    GenericSize → Size
  52. def square(width: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  53. def star(points: Int, outerRadius: Double, innerRadius: Double, angle: Angle): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[Unit]])]
    Definition Classes
    Path
  54. def strokeCap[A](image: Finalized[JsAlgebraModule.SvgResult, A], cap: Cap): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  55. def strokeColor[A](image: Finalized[JsAlgebraModule.SvgResult, A], strokeColor: Color): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  56. def strokeDash[A](image: Finalized[JsAlgebraModule.SvgResult, A], pattern: Iterable[Double]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  57. def strokeJoin[A](image: Finalized[JsAlgebraModule.SvgResult, A], join: Join): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  58. def strokeWidth[A](image: Finalized[JsAlgebraModule.SvgResult, A], strokeWidth: Double): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def text(text: String): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericText → Text
  61. def textBoundingBox(text: String, font: Font): (BoundingBox, Rect)
    Definition Classes
    JsAlgebraHasTextBoundingBox
  62. def toString(): String
    Definition Classes
    AnyRef → Any
  63. def transform[A](img: Finalized[JsAlgebraModule.SvgResult, A], tx: Transform): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericTransform → Transform
  64. def translate[A](img: IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])], vec: Vec): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]
    Definition Classes
    Transform
  65. def translate[A](img: IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])], x: Double, y: Double): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]
    Definition Classes
    Transform
  66. def triangle(width: Double, height: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  67. def under[A](bottom: JsAlgebraModule.Drawing[A], top: JsAlgebraModule.Drawing[A])(implicit s: Semigroup[A]): JsAlgebraModule.Drawing[A]
    Definition Classes
    Layout
  68. def verticalReflection[A](img: IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[A]])]
    Definition Classes
    Transform
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  72. def width[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, Double]
    Definition Classes
    GenericSize → Size
  73. object PathApi extends PathApi
    Definition Classes
    Path → GenericPath
  74. object ShapeApi extends ShapeApi
    Definition Classes
    Shape → GenericShape

Inherited from JsAlgebraModule.Text

Inherited from GenericText[JsAlgebraModule.SvgResult]

Inherited from algebra.Text[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]]

Inherited from interact.algebra.MouseOver[JsAlgebraModule.Drawing]

Inherited from HasTextBoundingBox

Inherited from Basic[JsAlgebraModule.Drawing]

Inherited from GivenFunctor[JsAlgebraModule.SvgResult]

Inherited from GivenApply[JsAlgebraModule.SvgResult]

Inherited from GenericTransform[JsAlgebraModule.SvgResult]

Inherited from Transform[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]]

Inherited from GenericStyle[JsAlgebraModule.SvgResult]

Inherited from Style[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]]

Inherited from GenericSize[JsAlgebraModule.SvgResult]

Inherited from GenericLayout[JsAlgebraModule.SvgResult]

Inherited from GenericDebug[JsAlgebraModule.SvgResult]

Inherited from Debug[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]]

Inherited from JsAlgebraModule.Path

Inherited from GenericPath[JsAlgebraModule.SvgResult]

Inherited from algebra.Path[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]]

Inherited from JsAlgebraModule.Shape

Inherited from GenericShape[JsAlgebraModule.SvgResult]

Inherited from algebra.Shape[[β$0$]IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[β$0$]])]]

Inherited from Size[JsAlgebraModule.Drawing]

Inherited from Layout[JsAlgebraModule.Drawing]

Inherited from algebra.Algebra[JsAlgebraModule.Drawing]

Inherited from AnyRef

Inherited from Any

Ungrouped