Packages

case class Path(vertices: Iterable[Vertex], isClosed: Boolean = false) extends Segment with Open with Product with Serializable

Path collection of vertex drawing points

Source
geom.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Path
  2. Serializable
  3. Product
  4. Equals
  5. Open
  6. Shape
  7. Segment
  8. Lerp
  9. AnyRef
  10. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Path(vertices: Iterable[Vertex], isClosed: Boolean = false)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Path toany2stringadd[Path] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Path, B)
    Implicit
    This member is added by an implicit conversion from Path toArrowAssoc[Path] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val a: Vec
    Definition Classes
    Segment
  7. def applyIf(t: Boolean, f: (Path) => Path): Path
    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. def applyIf(t: (Path) => Boolean)(f: (Path) => Path): Path

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. def arrowHead(size: Double): Tri
    Definition Classes
    Segment
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val b: Vec
    Definition Classes
    Segment
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. lazy val dist: Double
    Definition Classes
    PathSegment
  14. def draw(implicit g: DrawContext): Unit

    generic draw method

    generic draw method

    Definition Classes
    PathShape
  15. def elementOf(xs: Set[Path]): Boolean
    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  16. def end: Vec

    alias for max

    alias for max

    Definition Classes
    Lerp
  17. def ensuring(cond: (Path) => Boolean, msg: => Any): Path
    Implicit
    This member is added by an implicit conversion from Path toEnsuring[Path] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (Path) => Boolean): Path
    Implicit
    This member is added by an implicit conversion from Path toEnsuring[Path] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: => Any): Path
    Implicit
    This member is added by an implicit conversion from Path toEnsuring[Path] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): Path
    Implicit
    This member is added by an implicit conversion from Path toEnsuring[Path] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Path toStringFormat[Path] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def grad(td: Double): Vec
    Definition Classes
    PathSegment
  26. lazy val head: Vec
  27. val isClosed: Boolean
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. lazy val last: Vec
    Definition Classes
    PathSegment
  30. def lerp(td: Double): Vec

    required methods

    required methods

    Definition Classes
    PathSegmentLerp
  31. def max: Vec
    Definition Classes
    Lerp
  32. def mid: Vec

    convenience of the mid value

    convenience of the mid value

    Definition Classes
    Lerp
  33. def min: Vec
    Definition Classes
    Lerp
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def noneIf(f: (Path) => Boolean): Option[Path]
    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. def normal(implicit rand: Rand): Vec
    Definition Classes
    Lerp
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def optionIf(f: (Path) => Boolean): Option[Path]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  40. def preApply[B](f: (Path) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def productElementNames: Iterator[String]
    Definition Classes
    Product
  42. def pulse(period: Time): Vec
    Definition Classes
    Lerp
  43. def ramp(t: Time)(implicit t0: Date): Vec
    Definition Classes
    Lerp
  44. def sideEffect(f: (Path) => Unit): Path

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  45. def simplify(maxPoints: Int, minArea: Double = 0.0): Path
  46. lazy val size: Int
  47. def someIf(f: (Path) => Boolean): Option[Path]
    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  48. def start: Vec

    alias for min

    alias for min

    Definition Classes
    Lerp
  49. def step(stepDist: Double): Iterable[Vec]
    Definition Classes
    Segment
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def take(n: Int): Iterable[Vec]
    Definition Classes
    Lerp
  52. val thisAny: Path
    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  53. def tickCount(stepDist: Double): Int
    Definition Classes
    Segment
  54. def toBound(implicit b: Boundable[Vec]): Bound[Vec]
    Definition Classes
    Lerp
  55. def uniform(implicit rand: Rand): Vec
    Definition Classes
    Lerp
  56. val vertices: Iterable[Vertex]
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. def zip[B](xs: Iterable[B]): Iterable[(Vec, B)]
    Definition Classes
    Lerp
  61. def ~(color: Color): Styled

    provide a quick automatic way to set a fill or stroke all shapes have a stroke even if they can be filled (but the ClosedShape overrides this to provide a fill color)

    provide a quick automatic way to set a fill or stroke all shapes have a stroke even if they can be filled (but the ClosedShape overrides this to provide a fill color)

    Definition Classes
    OpenShape
  62. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  63. def ~(style: Style): Styled

    Attach a style to a shape

    Attach a style to a shape

    Definition Classes
    Shape

Deprecated Value Members

  1. def ?>(f: (Path) => Boolean): Option[Path]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def mean: Vec
    Definition Classes
    Lerp
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use mid instead since 0.5 may not be the mean

  3. def steps(N: Int): Seq[Vec]
    Definition Classes
    Lerp
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.4) use take(N:Int) for a more scala semantic

  4. def |>[B](f: (Path) => B): B
    Implicit
    This member is added by an implicit conversion from Path toDrxAny[Path] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  5. def [B](y: B): (Path, B)
    Implicit
    This member is added by an implicit conversion from Path toArrowAssoc[Path] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Open

Inherited from Shape

Inherited from Segment

Inherited from Lerp[Vec]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromPath to DrxAny[Path]

Inherited by implicit conversion any2stringadd fromPath to any2stringadd[Path]

Inherited by implicit conversion StringFormat fromPath to StringFormat[Path]

Inherited by implicit conversion Ensuring fromPath to Ensuring[Path]

Inherited by implicit conversion ArrowAssoc fromPath to ArrowAssoc[Path]

Ungrouped