indigo.shared.scenegraph.Shape
See theShape companion trait
object Shape
Attributes
Members list
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.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SpatialModifiers[Box]trait BasicSpatialModifiers[Box]trait Cloneabletrait RenderNode[Box]trait SceneNodeclass Objecttrait Matchableclass AnyShow all
object Box
final case class Circle(circle: Circle, 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.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SpatialModifiers[Circle]trait BasicSpatialModifiers[Circle]trait Cloneabletrait RenderNode[Circle]trait SceneNodeclass Objecttrait Matchableclass AnyShow all
object Circle
Draws a straight line.
Draws a straight line.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SpatialModifiers[Line]trait BasicSpatialModifiers[Line]trait Cloneabletrait RenderNode[Line]trait SceneNodeclass Objecttrait Matchableclass AnyShow all
object Line
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.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SpatialModifiers[Polygon]trait BasicSpatialModifiers[Polygon]trait Cloneabletrait RenderNode[Polygon]trait SceneNodeclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
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]]
In this article