DrawableOps

A set of operations modeled on the JS-based Drawable type-class.

class Object
trait Matchable
class Any

Extensions

Extensions

extension [A](drawables: Set[A])
def drawAll(g: CanvasRenderingContext2D, scale: Int)(implicit evidence$1: DrawableJS[A]): Unit

Method to draw all the elements in a set.

Method to draw all the elements in a set.

Value parameters:
g

the graphics needed to draw

scale

the scale factor to apply