class Arrow extends Line
- Source
- geom.scala
- Alphabetic
- By Inheritance
- Arrow
- Line
- Open
- Shape
- Segment
- Lerp
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(x: Double): Line
- Definition Classes
- Line
- def +(that: Vec): Line
- Definition Classes
- Line
- def -(that: Vec): Line
- Definition Classes
- Line
- def ->[B](y: B): (Arrow, B)
- def /(x: Double): Line
- Definition Classes
- Line
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ^(that: Line): Seq[Vec]
- Definition Classes
- Line
- val a: Vec
- def applyIf(t: Boolean, f: (Arrow) => Arrow): Arrow
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Arrow) => Boolean)(f: (Arrow) => Arrow): Arrow
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def arrowHead(size: Double): Tri
- Definition Classes
- Segment
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val b: Vec
- def bezier: Bezier
- Definition Classes
- Line
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closest(p: Vec): Vec
point closest on a segment of two points (a to b) to point p
point closest on a segment of two points (a to b) to point p
- Definition Classes
- Line
- lazy val cm: Vec
- Definition Classes
- Line
- lazy val delta: Vec
- Definition Classes
- Line
- def dist(p: Vec): Double
- Definition Classes
- Line
- lazy val dist: Double
- def draw(implicit g: DrawContext): Unit
generic draw method
- def elementOf(xs: Set[Arrow]): Boolean
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def end: Vec
alias for max
alias for max
- Definition Classes
- Lerp
- def ensuring(cond: (Arrow) => Boolean, msg: => Any): Arrow
- def ensuring(cond: (Arrow) => Boolean): Arrow
- def ensuring(cond: Boolean, msg: => Any): Arrow
- def ensuring(cond: Boolean): Arrow
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extrude(v: Vec): Poly
- Definition Classes
- Line
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def grad(t: Double): Vec
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def label(text: String, offset: Double = 0): Text
- Definition Classes
- Line
- def last: Vec
- def left(p: Vec): Boolean
- Definition Classes
- Line
- def lerp(t: Double): Vec
required methods
- def max: Vec
- Definition Classes
- Lerp
- def mid: Vec
convenience of the mid value
convenience of the mid value
- Definition Classes
- Lerp
- def min: Vec
- Definition Classes
- Lerp
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Arrow) => Boolean): Option[Arrow]
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def normal(implicit rand: Rand): Vec
- Definition Classes
- Lerp
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Arrow) => Boolean): Option[Arrow]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def orthoDist(p: Vec): Double
- Definition Classes
- Line
- def preApply[B](f: (Arrow) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def projectedIntersection(that: Line): Option[Vec]
- Definition Classes
- Line
- def pulse(period: Time): Vec
- Definition Classes
- Lerp
- def ramp(t: Time)(implicit t0: Date): Vec
- Definition Classes
- Lerp
- lazy val rect: Rect
- Definition Classes
- Line
- def right(p: Vec): Boolean
- Definition Classes
- Line
- def round: Line
- Definition Classes
- Line
- def sideEffect(f: (Arrow) => Unit): Arrow
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- lazy val slope: Double
- Definition Classes
- Line
- def someIf(f: (Arrow) => Boolean): Option[Arrow]
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def start: Vec
alias for min
alias for min
- Definition Classes
- Lerp
- def step(stepDist: Double): Iterable[Vec]
- Definition Classes
- Segment
- def swap: Line
- Definition Classes
- Line
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take(n: Int): Iterable[Vec]
- Definition Classes
- Lerp
- val thisAny: Arrow
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def tickCount(stepDist: Double): Int
- Definition Classes
- Segment
- def toArrow: Arrow
- Definition Classes
- Line
- def toBound: Bound[Vec]
- Definition Classes
- Line
- def toBound(implicit b: Boundable[Vec]): Bound[Vec]
- Definition Classes
- Lerp
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toTuple: (Vec, Vec)
- Definition Classes
- Line
- def uniform(implicit rand: Rand): Vec
- Definition Classes
- Lerp
- def vertices: List[Vec]
- Definition Classes
- Line
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def x2d(that: Line): Double
- Definition Classes
- Line
- lazy val yIntercept: Double
- Definition Classes
- Line
- def zip[B](xs: Iterable[B]): Iterable[(Vec, B)]
- Definition Classes
- Lerp
- def ~(c: Vec): Poly
- Definition Classes
- Line
- 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)
- def ~(property: Property): Styled
initialize shape with a style
initialize shape with a style
- Definition Classes
- Shape
- def ~(style: Style): Styled
Attach a style to a shape
Attach a style to a shape
- Definition Classes
- Shape
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Arrow toany2stringadd[Arrow] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(arrow: any2stringadd[Arrow]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def ?>(f: (Arrow) => Boolean): Option[Arrow]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] 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
- lazy val bounds: Rect
- Definition Classes
- Line
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.13) use rect for a more direct meaning since bound has other meanings in drx
- 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
- 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
- def |>[B](f: (Arrow) => B): B
- Implicit
- This member is added by an implicit conversion from Arrow toDrxAny[Arrow] 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)
- def →[B](y: B): (Arrow, B)
- Implicit
- This member is added by an implicit conversion from Arrow toArrowAssoc[Arrow] 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.