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() @HotSpotIntrinsicCandidate()
  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 font[A](image: Finalized[JsAlgebraModule.SvgResult, A], font: Font): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericText → Text
  28. val functorF: Functor[JsAlgebraModule.SvgResult]
    Definition Classes
    JsAlgebra → GivenFunctor
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def height[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, Double]
    Definition Classes
    GenericSize → Size
  32. 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
  33. def interpolatingSpline(points: Seq[Point]): IndexedStateT[Eval, List[(DrawingContext) => DrawingContext], List[(DrawingContext) => DrawingContext], (BoundingBox, IndexedStateT[Eval, Transform, Transform, JsAlgebraModule.SvgResult[Unit]])]
    Definition Classes
    Path
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def mouseOver[A](img: JsAlgebraModule.Drawing[A]): (JsAlgebraModule.Drawing[A], Observable[Unit])
    Definition Classes
    MouseOver → MouseOver
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def noDash[A](image: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  38. def noFill[A](image: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  39. def noStroke[A](image: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. 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
  43. def path(path: OpenPath): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericPath → Path
  44. def path(path: ClosedPath): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericPath → Path
  45. def rectangle(width: Double, height: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  46. 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
  47. 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
  48. 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
  49. 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
  50. def size[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, (Double, Double)]
    Definition Classes
    GenericSize → Size
  51. def square(width: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  52. 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
  53. def strokeCap[A](image: Finalized[JsAlgebraModule.SvgResult, A], cap: Cap): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  54. def strokeColor[A](image: Finalized[JsAlgebraModule.SvgResult, A], strokeColor: Color): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  55. def strokeDash[A](image: Finalized[JsAlgebraModule.SvgResult, A], pattern: Iterable[Double]): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  56. def strokeJoin[A](image: Finalized[JsAlgebraModule.SvgResult, A], join: Join): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  57. def strokeWidth[A](image: Finalized[JsAlgebraModule.SvgResult, A], strokeWidth: Double): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericStyle → Style
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def text(text: String): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericText → Text
  60. def textBoundingBox(text: String, font: Font): (BoundingBox, Rect)
    Definition Classes
    JsAlgebraHasTextBoundingBox
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. def transform[A](img: Finalized[JsAlgebraModule.SvgResult, A], tx: Transform): Finalized[JsAlgebraModule.SvgResult, A]
    Definition Classes
    GenericTransform → Transform
  63. 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
  64. 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
  65. def triangle(width: Double, height: Double): Finalized[JsAlgebraModule.SvgResult, Unit]
    Definition Classes
    GenericShape → Shape
  66. def under[A](bottom: JsAlgebraModule.Drawing[A], top: JsAlgebraModule.Drawing[A])(implicit s: Semigroup[A]): JsAlgebraModule.Drawing[A]
    Definition Classes
    Layout
  67. 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
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  70. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. def width[A](picture: Finalized[JsAlgebraModule.SvgResult, A]): Finalized[JsAlgebraModule.SvgResult, Double]
    Definition Classes
    GenericSize → Size
  72. object PathApi extends PathApi
    Definition Classes
    Path → GenericPath
  73. object ShapeApi extends ShapeApi
    Definition Classes
    Shape → GenericShape

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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