case object CanvasAlgebra extends MouseClick[effect.Canvas] with MouseMove[effect.Canvas] with Redraw[effect.Canvas] with Product with Serializable
- Source
- CanvasAlgebra.scala
- Alphabetic
- By Inheritance
- CanvasAlgebra
- Serializable
- Product
- Equals
- Redraw
- MouseMove
- MouseClick
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mouseClick(canvas: effect.Canvas): Stream[IO, Point]
Return a stream that has an event every time the mouse is clicked on the canvas.
Return a stream that has an event every time the mouse is clicked on the canvas. The coordinate system used is the global coordinate system used by the Canvas, which usually means the origin is centered on the canvas.
On systems, such as the browser, that will emulate touch events as mouse events this will also return such touch events.
- Definition Classes
- CanvasAlgebra → MouseClick
- def mouseMove(canvas: effect.Canvas): Stream[IO, Point]
Return a stream that has an event every time the mouse moves across the canvas.
Return a stream that has an event every time the mouse moves across the canvas. The coordinate system used is the global coordinate system used by the Canvas, which usually means the origin is centered on the canvas.
- Definition Classes
- CanvasAlgebra → MouseMove
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def redraw(canvas: effect.Canvas): Stream[IO, Int]
Return a stream that has an event every time the canvas is ready to redraw.
Return a stream that has an event every time the canvas is ready to redraw. The value is the approximate time in millisecond since a frame was last rendered.
- Definition Classes
- CanvasAlgebra → Redraw
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()