ReifiedShape

doodle.java2d.algebra.reified.ReifiedShape

Attributes

Source
ReifiedShape.scala
Graph
Supertypes
trait Shape
trait Algebra
class Object
trait Matchable
class Any
Show all
Known subtypes
class Algebra
Self type
Algebra { type Drawing <: (Drawing); }

Members list

Type members

Classlikes

object ShapeApi extends ShapeApi

Attributes

Source
ReifiedShape.scala
Supertypes
trait ShapeApi
class Object
trait Matchable
class Any
Self type
ShapeApi.type

Inherited classlikes

trait ShapeApi

Attributes

Inherited from:
GenericShape
Source
GenericShape.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ShapeApi.type

Inherited types

type Drawing[_]

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

Inherited 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

Inherited from:
GenericShape
Source
GenericShape.scala
def empty: Finalized[G, Unit]

The empty shape, which is no shape at all.

The empty shape, which is no shape at all.

Attributes

Inherited from:
GenericShape
Source
GenericShape.scala

A rectangle with the given width and height.

A rectangle with the given width and height.

Attributes

Inherited from:
GenericShape
Source
GenericShape.scala

A square with the given side length.

A square with the given side length.

Attributes

Inherited from:
GenericShape
Source
GenericShape.scala

An isoceles triangle with the given width and height.

An isoceles triangle with the given width and height.

Attributes

Inherited from:
GenericShape
Source
GenericShape.scala

Implicits

Inherited implicits

Attributes

Inherited from:
Algebra
Source
Algebra.scala