Packages

final class JsAlgebra extends BaseAlgebra with Text with HasTextBoundingBox[Rect]

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

Inherited from HasTextBoundingBox[Rect]

Inherited from JsAlgebraModule.Text

Inherited from Basic

Inherited from Transform

Inherited from Style

Inherited from Debug

Inherited from algebra.Text

Inherited from JsAlgebraModule.Path

Inherited from algebra.Path

Inherited from JsAlgebraModule.Shape

Inherited from algebra.Shape

Inherited from Size

Inherited from Layout

Inherited from algebra.Algebra

Inherited from AnyRef

Inherited from Any

Ungrouped