GenericShape
doodle.algebra.generic.GenericShape
trait GenericShape[G[_]] extends Shape
Attributes
- Source
- GenericShape.scala
- Graph
-
- Supertypes
- Self type
Members list
Type members
Classlikes
trait ShapeApi
Attributes
- Source
- GenericShape.scala
- Supertypes
Inherited types
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.
Attributes
- Inherited from:
- Algebra
- Source
- Algebra.scala
Value members
Abstract methods
Attributes
- Source
- GenericShape.scala
Concrete methods
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)
Attributes
- Source
- GenericShape.scala
The empty shape, which is no shape at all.
A rectangle with the given width and height.
A square with the given side length.
An isoceles triangle with the given width and height.
Implicits
Inherited implicits
Attributes
- Inherited from:
- Algebra
- Source
- Algebra.scala
In this article