doodle.svg.effect

Members list

Concise view

Type members

Classlikes

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)

Attributes

Companion:
object
Source:
Canvas.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Canvas

Attributes

Companion:
class
Source:
Canvas.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Canvas.type
final case class Frame(id: String, size: Size, background: Option[Color])

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.

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)

Attributes

Companion:
object
Source:
Frame.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Frame

Attributes

Companion:
class
Source:
Frame.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Frame.type
sealed abstract class Size extends Product with Serializable

Attributes

Companion:
object
Source:
Size.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object Size

Attributes

Companion:
class
Source:
Size.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Size.type

Attributes

Source:
SvgAnimationRenderer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
SvgRenderer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type