shape

doodle.syntax.package$.shape$
object shape extends ShapeSyntax

Attributes

Source
package.scala
Graph
Supertypes
trait ShapeSyntax
class Object
trait Matchable
class Any
Self type
shape.type

Members list

Value members

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
ShapeSyntax
Source
ShapeSyntax.scala