ClosedPath

doodle.core.ClosedPath
See theClosedPath companion class
object ClosedPath

Attributes

Companion
class
Source
ClosedPath.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ClosedPath.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(elts: List[PathElement]): ClosedPath

Attributes

Source
ClosedPath.scala
def catmulRom(points: Seq[Point], tension: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def circle(center: Point, diameter: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def circle(x: Double, y: Double, diameter: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def equilateralTriangle(width: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def interpolatingSpline(points: Seq[Point]): ClosedPath

Attributes

Source
ClosedPath.scala
def line(x: Double, y: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def pie(center: Point, diameter: Double, angle: Angle): ClosedPath

Attributes

Source
ClosedPath.scala
def pie(x: Double, y: Double, diameter: Double, angle: Angle): ClosedPath

Create a ClosedPath representing a pie slice: a line from (x, y) to (x + diameter / 2, y), followed by a circular arc, followed by a line back to the start.

Create a ClosedPath representing a pie slice: a line from (x, y) to (x + diameter / 2, y), followed by a circular arc, followed by a line back to the start.

Attributes

Source
ClosedPath.scala
def regularPolygon(sides: Int, radius: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def rightArrow(width: Double, height: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def roundedRectangle(width: Double, height: Double, radius: Double): ClosedPath

Attributes

Source
ClosedPath.scala
def star(points: Int, outerRadius: Double, innerRadius: Double): ClosedPath

Attributes

Source
ClosedPath.scala

Concrete fields

Attributes

Source
ClosedPath.scala