JsAlgebra
Attributes
- Source
- Algebra.scala
- Graph
-
- Supertypes
-
trait Texttrait GenericText[SvgResult]trait JsTaggedtrait HasTextBoundingBox[Rect]trait BaseAlgebratrait Basictrait GivenFunctor[SvgResult]trait GivenApply[SvgResult]trait GenericTransform[SvgResult]trait Transformtrait GenericStyle[SvgResult]trait Styletrait GenericSize[SvgResult]trait GenericLayout[SvgResult]trait GenericDebug[SvgResult]trait Debugtrait Imagetrait Filtertrait Filtertrait Texttrait Pathtrait GenericPath[SvgResult]trait Pathtrait Shapetrait GenericShape[SvgResult]trait Shapetrait Sizetrait Layouttrait Algebraclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- Path
- Source
- Path.scala
- Supertypes
Attributes
- Inherited from:
- GenericPath
- Source
- GenericPath.scala
- Supertypes
- Known subtypes
-
object PathApi
Attributes
- Inherited from:
- Shape
- Source
- Shape.scala
- Supertypes
Attributes
- Inherited from:
- GenericShape
- Source
- GenericShape.scala
- Supertypes
- Known subtypes
-
object ShapeApi
Attributes
- Inherited from:
- GenericText
- Source
- GenericText.scala
- Supertypes
Inherited types
The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.
The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.
Attributes
- Inherited from:
- BaseAlgebra
- Source
- BaseAlgebra.scala
Value members
Concrete methods
Attributes
- Source
- Algebra.scala
Inherited methods
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Displace img by the given landmark relative to the origin, expanding the bounding box if necessary to include the relocated image.
Displace img by the given landmark relative to the origin, expanding the bounding box if necessary to include the relocated image.
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
Get the bounding box enclosing the picture
Get the bounding box enclosing the picture
Attributes
- Inherited from:
- GenericSize
- Source
- GenericSize.scala
Attributes
- Inherited from:
- GenericPath
- Source
- GenericPath.scala
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
Attributes
- Inherited from:
- Path
- Source
- Path.scala
A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)
A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)
Attributes
- Inherited from:
- GenericShape
- Source
- GenericShape.scala
Apply a custom convolution kernel
Apply a custom convolution kernel
Value parameters
- bias
-
Optional bias to add to each pixel
- divisor
-
Optional divisor for the result (defaults to sum of kernel)
- kernel
-
The convolution kernel
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
Draws the bounding box and origin of the given picture on top of the picture. The given color is used for the bounding box and origin.
Draws the bounding box and origin of the given picture on top of the picture. The given color is used for the bounding box and origin.
The bounding box and origin are not included in layout calculations and hence will not affect the picture's layout.
Attributes
- Inherited from:
- GenericDebug
- Source
- GenericDebug.scala
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
The empty shape, which is no shape at all.
The empty shape, which is no shape at all.
Attributes
- Inherited from:
- GenericShape
- Source
- GenericShape.scala
Create an equilateral triangle with the given side length.
Create an equilateral triangle with the given side length.
Attributes
- Inherited from:
- Path
- Source
- Path.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Specifies the font to use when rendering text
Specifies the font to use when rendering text
Attributes
- Inherited from:
- GenericText
- Source
- GenericText.scala
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
Get the height of the bounding box enclosing the picture
Get the height of the bounding box enclosing the picture
Attributes
- Inherited from:
- GenericSize
- Source
- GenericSize.scala
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
Create an SVG image element from a reference
Attributes
- Inherited from:
- Path
- Source
- Path.scala
A utility to include wrap a link (an a tag) around a Drawing.
A utility to include wrap a link (an a tag) around a Drawing.
Attributes
- Inherited from:
- JsTagged
- Source
- JsTagged.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Expand the bounding box of img by the given amounts.
Expand the bounding box of img by the given amounts.
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Place the origin of top on the origin of bottom
Place the origin of top on the origin of bottom
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Place the origin of img at the given landmark, expanding the bounding box if necessary to include the relocated origin.
Place the origin of img at the given landmark, expanding the bounding box if necessary to include the relocated origin.
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
Attributes
- Inherited from:
- GenericPath
- Source
- GenericPath.scala
Attributes
- Inherited from:
- GenericPath
- Source
- GenericPath.scala
A rectangle with the given width and height.
A rectangle with the given width and height.
Attributes
- Inherited from:
- GenericShape
- Source
- GenericShape.scala
Attributes
- Inherited from:
- Path
- Source
- Path.scala
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
Attributes
- Inherited from:
- Path
- Source
- Path.scala
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
Attributes
- Inherited from:
- Filter
- Source
- Filter.scala
Get the width and height of the bounding box enclosing the picture
Get the width and height of the bounding box enclosing the picture
Attributes
- Inherited from:
- GenericSize
- Source
- GenericSize.scala
Utility to set the width and height to the same value.
Utility to set the width and height to the same value.
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Set the width and height of the given Drawing's bounding box to the given values. The new bounding box has the same origin as the original bounding box, and extends symmetrically above and below, and left and right of the origin.
Set the width and height of the given Drawing's bounding box to the given values. The new bounding box has the same origin as the original bounding box, and extends symmetrically above and below, and left and right of the origin.
Attributes
- Inherited from:
- GenericLayout
- Source
- GenericLayout.scala
A square with the given side length.
A square with the given side length.
Attributes
- Inherited from:
- GenericShape
- Source
- GenericShape.scala
Attributes
- Inherited from:
- Path
- Source
- Path.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Specify the stroke dash pattern. The pattern gives the length, in local coordinates, of opaque and transparent sections. The first element is the length of an opaque section, the second of a transparent section, and so on.
Specify the stroke dash pattern. The pattern gives the length, in local coordinates, of opaque and transparent sections. The first element is the length of an opaque section, the second of a transparent section, and so on.
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Attributes
- Inherited from:
- GenericStyle
- Source
- GenericStyle.scala
Wrap the given Tag around the given Drawing.
Wrap the given Tag around the given Drawing.
Attributes
- Inherited from:
- JsTagged
- Source
- JsTagged.scala
Render the given String
Attributes
- Inherited from:
- GenericTransform
- Source
- GenericTransform.scala
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
An isoceles triangle with the given width and height.
An isoceles triangle with the given width and height.
Attributes
- Inherited from:
- GenericShape
- Source
- GenericShape.scala
Attributes
- Inherited from:
- Layout
- Source
- Layout.scala
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
Get the width of the bounding box enclosing the picture
Get the width of the bounding box enclosing the picture
Attributes
- Inherited from:
- GenericSize
- Source
- GenericSize.scala
Concrete fields
Attributes
- Source
- Algebra.scala
Attributes
- Source
- Algebra.scala
Attributes
- Source
- Algebra.scala
Inherited fields
Attributes
- Inherited from:
- Text
- Source
- Text.scala
Attributes
- Inherited from:
- JsTagged
- Source
- JsTagged.scala
Implicits
Implicits
Attributes
- Source
- Algebra.scala
Attributes
- Source
- Algebra.scala
Attributes
- Source
- Algebra.scala