object Shape
- Companion:
- class
Type members
Classlikes
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.
Draws a coloured box that occupies a rectangle on the screen.
- Companion:
- object
final case class Circle(center: Point, radius: Int, fill: Fill, stroke: Stroke, lighting: LightingModel, eventHandlerEnabled: Boolean, eventHandler: ((Circle, GlobalEvent)) => Option[GlobalEvent], rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip, shaderId: Option[ShaderId]) extends Shape[Circle]
Draws a coloured circle from it's center outwards.
Draws a coloured circle from it's center outwards.
- Companion:
- object
final case class Polygon(vertices: Batch[Point], fill: Fill, stroke: Stroke, lighting: LightingModel, eventHandlerEnabled: Boolean, eventHandler: ((Polygon, GlobalEvent)) => Option[GlobalEvent], rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip, shaderId: Option[ShaderId]) extends Shape[Polygon]
Draws an arbitrary polygon with up to 16 vertices.
Draws an arbitrary polygon with up to 16 vertices.
- Companion:
- object
Value members
Concrete methods
Givens
Givens
given derived$CanEqual[T_$_L <: Shape[_], T_$_R <: Shape[_]](implicit x$0: CanEqual[T_$_L, T_$_R]): CanEqual[Shape[T_$_L], Shape[T_$_R]]