Packages

p

doodle.svg

effect

package effect

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Canvas(target: Node, frame: Frame, background: Option[Color], redrawQueue: Queue[IO, Int], mouseClickQueue: Queue[IO, Point], mouseMoveQueue: Queue[IO, Point])(implicit runtime: IORuntime) extends Product with Serializable
  2. final case class Frame(id: String, size: Size, background: Option[Color] = None) extends Product with Serializable

    The Frame specifies how to create the area where the SVG output will be drawn.

    The Frame specifies how to create the area where the SVG output will be drawn. The idiomatic way to create a Frame is to start with Frame(anId), where anId is the id of the DOM element where the output should be drawn, and then call the builder methods starting with with.

    For example, this Frame specifies a fixed size and a background color.

    Frame("svgCanvas").withSize(300, 300).withBackground(Color.midnightBlue)

  3. sealed abstract class Size extends Product with Serializable

Value Members

  1. object Canvas extends Serializable
  2. object Frame extends Serializable
  3. object Size extends Serializable
  4. object SvgAnimationRenderer extends AnimationRenderer[Canvas]
  5. object SvgRenderer extends Renderer[Algebra, Frame, Canvas]

Ungrouped