doodle.svg.effect.Frame
See theFrame companion object
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