package api
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- abstract class BaseSvgApi[Svg] extends AnyRef
SVG API sufficient to implement animations
- case class OptimizedSvgApi[Svg](api: BaseSvgApi[Svg]) extends BaseSvgApi[SvgWrapper[Svg]] with Product with Serializable
An implementation of BaseSvgApi that optimizes another existing implementation by caching the node attributes and avoiding excessive parsing/stringifying
- case class Selector(clauses: Set[Clause]) extends Product with Serializable
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. - trait SimpleSvgApi[Node] extends BaseSvgApi[Node]
An implementation of BaseSvgApi that only requires defining the optics for attributes and navigation
- 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
Value Members
- object Selector extends Serializable
- object SvgWrapper extends Serializable