indigo.shared.scenegraph.Graphic
See theGraphic companion object
final case class Graphic[M <: Material](material: M, crop: Rectangle, eventHandlerEnabled: Boolean, eventHandler: ((Graphic[_], GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends RenderNode[Graphic[M]], Cloneable, SpatialModifiers[Graphic[M]]
Graphics are used to draw images on the screen, in a cheap efficient but expressive way. Graphic's party trick is it's ability to crop images.
Attributes
Members list
In this article