Canvas

doodle.svg.effect.Canvas
See theCanvas companion object
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

Members list

Concise view

Value members

Concrete methods

def render[A](picture: Picture[A]): IO[A]

Attributes

Source:
Canvas.scala
def renderChild(svgRoot: Node, nodes: Node): Unit

Attributes

Source:
Canvas.scala
def svgRoot(bb: BoundingBox): Node

Get the root node, creating one if needed.

Get the root node, creating one if needed.

Attributes

Source:
Canvas.scala
def textBoundingBox(text: String, font: Font): (BoundingBox, Rect)

Attributes

Source:
Canvas.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source:
Canvas.scala

Attributes

Source:
Canvas.scala

Attributes

Source:
Canvas.scala

Attributes

Source:
Canvas.scala