Packages

final class JsAlgebra extends BaseAlgebra with HasTextBoundingBox with Text

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