GenericShape
doodle.algebra.generic.GenericShape
Attributes
- Source:
- GenericShape.scala
- Graph
- Supertypes
- Known subtypes
- trait ReifiedShapeclass Algebra
- Self type
The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.
The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.
A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)
A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)
The empty shape, which is no shape at all.
A rectangle with the given width and height.
A square with the given side length.