Path

doodle.svg.algebra.PathModule.Path
trait Path extends GenericPath[SvgResult]

Attributes

Source
Path.scala
Graph
Supertypes
trait Path
trait Algebra
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BaseAlgebra
class JsAlgebra
Self type
Algebra { type Drawing = [A] =>> Finalized[SvgResult, A]; }

Members list

Type members

Classlikes

object PathApi extends PathApi

Attributes

Source
Path.scala
Supertypes
trait PathApi
class Object
trait Matchable
class Any
Self type
PathApi.type

Inherited classlikes

trait PathApi

Attributes

Inherited from:
GenericPath
Source
GenericPath.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PathApi.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

Attributes

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

Attributes

Inherited from:
Path
Source
Path.scala
def equilateralTriangle(width: Double): Drawing[Unit]

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 path(path: OpenPath): Finalized[G, Unit]

Attributes

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

Attributes

Inherited from:
GenericPath
Source
GenericPath.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