Package

reftree.svg

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BaseSvgApi[Svg] extends AnyRef

    Permalink

    SVG API sufficient to implement animations

  2. case class OptimizedSvgApi[Svg](api: BaseSvgApi[Svg]) extends BaseSvgApi[SvgWrapper[Svg]] with Product with Serializable

    Permalink

    An implementation of BaseSvgApi that optimizes another existing implementation by caching the node attributes and avoiding excessive parsing/stringifying

  3. case class Selector(clauses: Set[Clause]) extends Product with Serializable

    Permalink

    A very crude approximation of the CSS selectors, which is enough for our purposes

    A very crude approximation of the CSS selectors, which is enough for our purposes

    Use Selector.fromString to construct a selector.

  4. trait SimpleSvgApi[Node] extends BaseSvgApi[Node]

    Permalink

    An implementation of BaseSvgApi that only requires defining the optics for attributes and navigation

  5. case class SvgWrapper[Svg](api: BaseSvgApi[Svg], svg: Svg, classes: Set[String], children: Option[List[SvgWrapper[Svg]]], translation: Option[Point], opacity: Option[Double], fillColor: Option[Option[Color]], strokeColor: Option[Option[Color]], strokeWidth: Option[Double], polygonPoints: Option[Polyline], pathPath: Option[Path], textPosition: Option[Point]) extends Product with Serializable

    Permalink

Value Members

  1. object Selector extends Serializable

    Permalink
  2. object SvgWrapper extends Serializable

    Permalink

Ungrouped