Packages

object Svg

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Svg
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait PathType extends AnyRef

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. val implicits: Aggregate[(SvgModule.this)#Builder, (SvgModule.this)#Output, (SvgModule.this)#FragT] with DataConverters
  12. def inverseClientTransform(bb: BoundingBox, size: Size): Transform

    Transform from client coordinates to local coordinates

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def render[Alg[x[_]] <: algebra.Algebra[x[_]], A](frame: Frame, algebra: Alg[(SvgModule.this)#Drawing], picture: algebra.Picture[Alg, (SvgModule.this)#Drawing, A]): IO[((SvgModule.this)#Output, A)]
  18. def renderWithoutRootTag[Alg[x[_]] <: algebra.Algebra[x[_]], A](algebra: Alg[(SvgModule.this)#Drawing], picture: algebra.Picture[Alg, (SvgModule.this)#Drawing, A]): IO[(BoundingBox, (SvgModule.this)#Tag, A)]

    Render to SVG without wrapping with a root <svg> tag.

  19. val svg: scalatags.generic.Bundle.SvgTags
  20. val svgAttrs: scalatags.generic.Bundle.SvgAttrs
  21. implicit val svgResultApply: Apply[(SvgModule.this)#SvgResult]
  22. def svgTag(bb: BoundingBox, frame: Frame): (SvgModule.this)#Tag

    Given a bounding box and a size specification create a <svg> tag that has the correct size and viewbox

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def textTag(text: String, font: Font): (SvgModule.this)#Tag
  25. def toGradientId(gradient: Gradient): String
  26. def toHSLA(color: Color): String
  27. def toRGB(color: Color): String
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def toStyle(stroke: Stroke): String
  30. def toStyle(fill: Fill, gradients: Set[(SvgModule.this)#Tag]): String

    Given a Fill return the string to insert as the style part of the tag being rendered

    Given a Fill return the string to insert as the style part of the tag being rendered

    Additionally, if this fill represents a gradient add that gradient to the given Set as a side-effect. In SVG gradients cannot be specified inline. Hence this construction.

  31. def toStyle(stroke: Option[Stroke], fill: Option[Fill], gradients: Set[(SvgModule.this)#Tag]): String

    Given stroke and fill returns a String representing the stroke and fill rendered as SVG styles.

    Given stroke and fill returns a String representing the stroke and fill rendered as SVG styles.

    If the fill specifies a gradient that gradient, represented in SVG form as a Tag, is added to the given Set as a side-effect.

  32. def toSvgGradient(gradient: Gradient): (String, (SvgModule.this)#Tag)
  33. def toSvgGradientStop(tuple: (Color, Double)): (SvgModule.this)#Tag
  34. def toSvgLinearGradient(gradient: Linear): (String, (SvgModule.this)#Tag)
  35. def toSvgPath(points: Array[Point], pathType: PathType): String
  36. def toSvgPath(elts: List[PathElement], pathType: PathType): String
  37. def toSvgRadialGradient(gradient: Radial): (String, (SvgModule.this)#Tag)
  38. def toSvgSpreadMethod(cycleMethod: CycleMethod): String
  39. def toSvgTransform(tx: Transform): String
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. case object Closed extends PathType with Product with Serializable
  44. case object Open extends PathType with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped