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() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. val implicits: Aggregate[(SvgModule.this)#Builder, (SvgModule.this)#Output, (SvgModule.this)#FragT] with DataConverters
  11. def inverseClientTransform(bb: BoundingBox, size: Size): Transform

    Transform from client coordinates to local coordinates

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. 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)]
  17. 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.

  18. val svg: scalatags.generic.Bundle.SvgTags
  19. val svgAttrs: scalatags.generic.Bundle.SvgAttrs
  20. implicit val svgResultApply: Apply[(SvgModule.this)#SvgResult]
  21. 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

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def textTag(text: String, font: Font): (SvgModule.this)#Tag
  24. def toGradientId(gradient: Gradient): String
  25. def toHSLA(color: Color): String
  26. def toRGB(color: Color): String
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def toStyle(stroke: Stroke): String
  29. 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.

  30. 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.

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

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped