Frame

final case class Frame(size: Size, title: String, center: Center, background: Option[Color], redraw: Redraw)

The Frame specifies how to create a Canvas.

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

Value members

Concrete methods

def background(color: Color): Frame

Change the background color to the given color.

Change the background color to the given color.

Source:
Frame.scala
def clearToColor(color: Color): Frame

Change the background to fully transparent (no background).

Change the background to fully transparent (no background).

Source:
Frame.scala
def title(title: String): Frame

Inherited methods

Inherited from:
Product