package effect
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- 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
Frameis to start withFrame(anId), whereanIdis the id of the DOM element where the output should be drawn, and then call the builder methods starting withwith.For example, this
Framespecifies a fixed size and a background color.Frame("svgCanvas").withSize(300, 300).withBackground(Color.midnightBlue) - sealed abstract class Size extends Product with Serializable