Attributes
- Companion:
- class
- Source:
- PathElement.scala
- Graph
- Supertypes
- Self type
- PathElement.type
Members list
Type members
Classlikes
Attributes
- Source:
- PathElement.scala
- Graph
- Supertypes
Attributes
- Source:
- PathElement.scala
- Graph
- Supertypes
Attributes
- Source:
- PathElement.scala
- Graph
- Supertypes
Inherited types
The names of the product elements
The name of the type
Value members
Concrete methods
Interpolate a spline (a curve) that passes through all the given points, using the Catmul Rom formulation (see, e.g., https://en.wikipedia.org/wiki/Cubic_Hermite_spline)
Interpolate a spline (a curve) that passes through all the given points, using the Catmul Rom formulation (see, e.g., https://en.wikipedia.org/wiki/Cubic_Hermite_spline)
The tension can be changed to control how tightly the curve turns. It defaults to 0.5.
The Catmul Rom algorithm requires a point before and after each pair of
points that define the curve. To meet this condition for the first and
last points in points
, they are repeated.
If points
has less than two elements an empty List is returned.
Attributes
- Source:
- PathElement.scala
Utility to construct a List[PathElement]
that represents a circle.
Utility to construct a List[PathElement]
that represents a circle.
Attributes
- Source:
- PathElement.scala
Utility to construct a List[PathElement]
that represents a circle.
Utility to construct a List[PathElement]
that represents a circle.
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Construct an equilateral triangle
Construct list of bezier curves that are smoothly connected and intersect
all the given points. Defaults to catmulRom
with the default tension.
Construct list of bezier curves that are smoothly connected and intersect
all the given points. Defaults to catmulRom
with the default tension.
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Attributes
- Source:
- PathElement.scala
Construct a regular polygon
Attributes
- Source:
- PathElement.scala
Construct a rounded rectangle with the given width, height, and corner radius
Construct a rounded rectangle with the given width, height, and corner radius
Attributes
- Source:
- PathElement.scala
Construct a star
Concrete fields
Attributes
- Source:
- PathElement.scala