doodle.svg.effect
package doodle.svg.effect
Members list
Type members
Classlikes
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
- Supertypes
object Frame
Attributes
- Companion
- class
- Source
- Frame.scala
- Supertypes
- Self type
-
Frame.type
sealed abstract class Size extends Product, Serializable
Attributes
- Companion
- object
- Source
- Size.scala
- Supertypes
- Known subtypes
-
class FitToPictureclass FixedSize
object Size
Attributes
- Companion
- class
- Source
- Size.scala
- Supertypes
- Self type
-
Size.type
object SvgWriter extends FileWriter[Algebra, Frame, Svg], Base64Writer[Algebra, Frame, Svg]
Attributes
- Source
- SvgWriter.scala
- Supertypes
- Self type
-
SvgWriter.type
In this article