ShapeSyntax

class Object
trait Matchable
class Any
object all.type
object shape.type

Value members

Concrete methods

def circle[Alg <: Shape](diameter: Double): Picture[Alg, Unit]
def empty[Alg <: Shape]: Picture[Alg, Unit]
def rectangle[Alg <: Shape](width: Double, height: Double): Picture[Alg, Unit]
def square[Alg <: Shape](width: Double): Picture[Alg, Unit]
def triangle[Alg <: Shape](width: Double, height: Double): Picture[Alg, Unit]