Settings

eu.joaocosta.minart.graphics.Canvas.Settings
final case class Settings(width: Int, height: Int, scale: Option[Int], fullScreen: Boolean, clearColor: Color, title: String)

The canvas settings.

Value parameters

clearColor

The color to be used when the canvas is cleared

fullscreen

Whether the canvas should be rendered in a full screen window

height

The canvas height

scale

The canvas integer scaling factor. If None, it will automatically pick 1 for non-fullscreen and fill the screen on full screen

title

The title to use if this Canvas needs to create a window

width

The canvas width

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product