ShapeSyntax

doodle.syntax.ShapeSyntax
trait ShapeSyntax

Attributes

Source
ShapeSyntax.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object all.type
object shape.type

Members list

Value members

Concrete methods

def circle[Alg <: Shape](diameter: Double): Picture[Alg, Unit]

Attributes

Source
ShapeSyntax.scala
def empty[Alg <: Shape]: Picture[Alg, Unit]

Attributes

Source
ShapeSyntax.scala
def rectangle[Alg <: Shape](width: Double, height: Double): Picture[Alg, Unit]

Attributes

Source
ShapeSyntax.scala
def square[Alg <: Shape](width: Double): Picture[Alg, Unit]

Attributes

Source
ShapeSyntax.scala
def triangle[Alg <: Shape](width: Double, height: Double): Picture[Alg, Unit]

Attributes

Source
ShapeSyntax.scala