GenericPath

doodle.algebra.generic.GenericPath
trait GenericPath[G[_]] extends Path

Attributes

Source:
GenericPath.scala
Graph
Supertypes
trait Path
trait Algebra
class Object
trait Matchable
class Any
Self type
Algebra { type Drawing = [A] =>> Finalized[G, A]; }

Members list

Concise view

Type members

Classlikes

trait PathApi

Attributes

Source:
GenericPath.scala
Graph
Supertypes
class Object
trait Matchable
class Any

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

Abstract methods

Attributes

Source:
GenericPath.scala

Concrete methods

Attributes

Source:
GenericPath.scala
def path(path: ClosedPath): Finalized[G, Unit]

Attributes

Source:
GenericPath.scala
def path(path: OpenPath): Finalized[G, Unit]

Attributes

Source:
GenericPath.scala

Inherited methods

def catmulRom(points: Seq[Point], tension: Double): Drawing[Unit]

Attributes

Inherited from:
Path
Source:
Path.scala

Create an equilateral triangle with the given side length.

Create an equilateral triangle with the given side length.

Attributes

Inherited from:
Path
Source:
Path.scala

Attributes

Inherited from:
Path
Source:
Path.scala
def regularPolygon(sides: Int, radius: Double): Drawing[Unit]

Attributes

Inherited from:
Path
Source:
Path.scala
def roundedRectangle(width: Double, height: Double, radius: Double): Drawing[Unit]

Attributes

Inherited from:
Path
Source:
Path.scala
def star(points: Int, outerRadius: Double, innerRadius: Double): Drawing[Unit]

Attributes

Inherited from:
Path
Source:
Path.scala

Implicits

Inherited implicits

Attributes

Inherited from:
Algebra
Source:
Algebra.scala