DrawRect

eu.joaocosta.interim.RenderOp$.DrawRect
final case class DrawRect(area: Rect, color: Color) extends RenderOp

Operation to draw a rectangle on the screen.

Value parameters

area

area to render

color

color of the rectangle

Attributes

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

Members list

Value members

Concrete methods

def clip(rect: Rect): DrawRect

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product