ReifiedPath

trait Path
trait Algebra
class Object
trait Matchable
class Any
class Algebra
Algebra { type Drawing <: (Drawing); }

Type members

Classlikes

object PathApi extends PathApi

Inherited classlikes

trait PathApi
Inherited from:
GenericPath
Source:
GenericPath.scala

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.

Inherited from:
Algebra
Source:
Algebra.scala

Value members

Inherited methods

def catmulRom(points: Seq[Point], tension: Double): Drawing[Unit]
Inherited from:
Path
Source:
Path.scala

Create an equilateral triangle with the given side length.

Create an equilateral triangle with the given side length.

Inherited from:
Path
Source:
Path.scala
Inherited from:
Path
Source:
Path.scala
def regularPolygon(sides: Int, radius: Double): Drawing[Unit]
Inherited from:
Path
Source:
Path.scala
def roundedRectangle(width: Double, height: Double, radius: Double): Drawing[Unit]
Inherited from:
Path
Source:
Path.scala
def star(points: Int, outerRadius: Double, innerRadius: Double): Drawing[Unit]
Inherited from:
Path
Source:
Path.scala

Implicits

Inherited implicits

Inherited from:
Algebra
Source:
Algebra.scala