OpenPath

doodle.core.OpenPath
See theOpenPath companion object
final case class OpenPath

Elements are stored in reversed order to make appending, the most common operation, more efficient.

Attributes

Companion
object
Source
OpenPath.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def add(element: PathElement): OpenPath

Attributes

Source
OpenPath.scala
def append(elements: List[PathElement]): OpenPath

Attributes

Source
OpenPath.scala
def append(path: OpenPath): OpenPath

Attributes

Source
OpenPath.scala

Attributes

Source
OpenPath.scala
def curveTo(cp1: Point, cp2: Point, to: Point): OpenPath

Attributes

Source
OpenPath.scala
def curveTo(cp1X: Double, cp1Y: Double, cp2X: Double, cp2Y: Double, toX: Double, toY: Double): OpenPath

Attributes

Source
OpenPath.scala
def curveTo(cp1R: Double, cp1Angle: Angle, cp2R: Double, cp2Angle: Angle, toR: Double, toAngle: Angle): OpenPath

Attributes

Source
OpenPath.scala

Attributes

Source
OpenPath.scala
def lineTo(point: Point): OpenPath

Attributes

Source
OpenPath.scala
def lineTo(x: Double, y: Double): OpenPath

Attributes

Source
OpenPath.scala
def lineTo(r: Double, angle: Angle): OpenPath

Attributes

Source
OpenPath.scala
def moveTo(point: Point): OpenPath

Attributes

Source
OpenPath.scala
def moveTo(x: Double, y: Double): OpenPath

Attributes

Source
OpenPath.scala
def moveTo(r: Double, angle: Angle): OpenPath

Attributes

Source
OpenPath.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product