final case class Box(dimensions: Rectangle, fill: Fill, stroke: Stroke, lighting: LightingModel, eventHandlerEnabled: Boolean, eventHandler: (Box, GlobalEvent) => Option[GlobalEvent], rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip, shaderId: Option[ShaderId]) extends Shape[Box]
Draws a coloured box that occupies a rectangle on the screen.
- Companion:
- object
trait Serializable
trait Product
trait Equals
trait SpatialModifiers[Box]
trait BasicSpatialModifiers[Box]
trait Cloneable
trait RenderNode[Box]
trait SceneNode
class Object
trait Matchable
class Any