class DrawContextFX extends DrawContext
- Source
- DrawContextFX.scala
- Alphabetic
- By Inheritance
- DrawContextFX
- DrawContext
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DrawContextFX(g: GraphicsContext, scene: Option[Scene] = None)
Value Members
- def !(z: Bezier): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(star: Star): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(svg: Svg): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(img: Img): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(e: Ellipse): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(a: Arc): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(tri: Tri): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(s: Poly): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(s: Text): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(s: Rect): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(s: Line): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(s: Circ): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Path): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Rotate): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: ScaleProperty): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Translate): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Align): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(html: Html): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(video: Video): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Font): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: StrokeNone.type): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: FillNone.type): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Weight): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Stroke): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Fill): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Background): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def !(p: Default.type): Unit
- Definition Classes
- DrawContextFX → DrawContext
- def ![A, B](a: Axes[A, B]): Unit
- Definition Classes
- DrawContext
- final def !(style: Style): Unit
- Definition Classes
- DrawContext
- final def !(p: Transform): Unit
- Definition Classes
- DrawContext
- final def !(p: Sketch): Unit
- Definition Classes
- DrawContext
- final def !(ps: Empty): Unit
- Definition Classes
- DrawContext
- final def !(ps: Iterable[Shape]): Unit
- Definition Classes
- DrawContext
- final def !(p: Grouped): Unit
- Definition Classes
- DrawContext
- final def !(s: Styled): Unit
- Definition Classes
- DrawContext
- final def !(p: AlignVertical): Unit
- Definition Classes
- DrawContext
- final def !(p: AlignHorizontal): Unit
- Definition Classes
- DrawContext
- def !(arrow: Arrow): Unit
- Definition Classes
- DrawContext
- def !(s: SvgPath): Unit
- Definition Classes
- DrawContext
- def !(s: Polys): Unit
- Definition Classes
- DrawContext
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from DrawContextFX toany2stringadd[DrawContextFX] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (DrawContextFX, B)
- Implicit
- This member is added by an implicit conversion from DrawContextFX toArrowAssoc[DrawContextFX] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyIf(t: Boolean, f: (DrawContextFX) => DrawContextFX): DrawContextFX
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (DrawContextFX) => Boolean)(f: (DrawContextFX) => DrawContextFX): DrawContextFX
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
this is called before exiting in case resources are still being used
this is called before exiting in case resources are still being used
- Definition Classes
- DrawContextFX → DrawContext
- def drag: Option[Line]
- Definition Classes
- DrawContext
- final def drawShape(shape: Shape): Unit
- Definition Classes
- DrawContext
- def drop: Option[String]
- Definition Classes
- DrawContext
- def elementOf(xs: Set[DrawContextFX]): Boolean
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def emptyCache(): scala.collection.concurrent.TrieMap[File, VideoFX]
- def ensuring(cond: (DrawContextFX) => Boolean, msg: => Any): DrawContextFX
- Implicit
- This member is added by an implicit conversion from DrawContextFX toEnsuring[DrawContextFX] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DrawContextFX) => Boolean): DrawContextFX
- Implicit
- This member is added by an implicit conversion from DrawContextFX toEnsuring[DrawContextFX] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DrawContextFX
- Implicit
- This member is added by an implicit conversion from DrawContextFX toEnsuring[DrawContextFX] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DrawContextFX
- Implicit
- This member is added by an implicit conversion from DrawContextFX toEnsuring[DrawContextFX] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fill: Option[Color]
- Definition Classes
- DrawContextFX → DrawContext
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def focus: Boolean
- Definition Classes
- DrawContext
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DrawContextFX toStringFormat[DrawContextFX] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def fps: Int
- Definition Classes
- DrawContext
- final def frame: Long
- Definition Classes
- DrawContext
- final def frameRate: Frequency
- Definition Classes
- DrawContext
- val g: GraphicsContext
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val keyboard: Keyboard
- Definition Classes
- DrawContext
- def lastClick: Option[Vec]
- Definition Classes
- DrawContext
- def lastDrag: Option[Line]
- Definition Classes
- DrawContext
- def lastPress: Option[Vec]
- Definition Classes
- DrawContext
- def lastRelease: Option[Vec]
- Definition Classes
- DrawContext
- def mouse: Vec
- Definition Classes
- DrawContext
- def mouseOption: Option[Vec]
- Definition Classes
- DrawContext
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (DrawContextFX) => Boolean): Option[DrawContextFX]
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onInit(f: => Unit): Unit
- Definition Classes
- DrawContext
- def onRelease(f: (Vec) => Unit): Unit
- Definition Classes
- DrawContext
- def optionIf(f: (DrawContextFX) => Boolean): Option[DrawContextFX]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (DrawContextFX) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def press: Option[Vec]
- Definition Classes
- DrawContext
- def remote(video: Video): MediaRemote
- Definition Classes
- DrawContextFX → DrawContext
- def save(file: File): drx.Try[File]
- Definition Classes
- DrawContextFX → DrawContext
- def save(img: Img, file: File): drx.Try[File]
- Definition Classes
- DrawContextFX → DrawContext
- def save: drx.Try[File]
- Definition Classes
- DrawContext
- val scene: Option[Scene]
- def screen: Rect
- Definition Classes
- DrawContext
- def scrollSum: Vec
- Definition Classes
- DrawContext
- def sideEffect(f: (DrawContextFX) => Unit): DrawContextFX
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def size: Vec
- Definition Classes
- DrawContextFX → DrawContext
- def sketchWith(draw: (DrawContext) => Unit, maxFPS: Option[Int]): Unit
- def sketchWith(frameRate: Frequency)(draw: (DrawContext) => Unit): Unit
- def sketchWith(draw: (DrawContext) => Unit): Unit
- def snapshot: Img
- Definition Classes
- DrawContextFX → DrawContext
- def snapshot(size: Vec): Img
- Definition Classes
- DrawContextFX → DrawContext
- def someIf(f: (DrawContextFX) => Boolean): Option[DrawContextFX]
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def stroke: Option[Color]
- Definition Classes
- DrawContextFX → DrawContext
- def style(f: => Unit): Unit
- Definition Classes
- DrawContextFX → DrawContext
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def textSize(text: Text, font: Font): Vec
compute the width of represented string
compute the width of represented string
- Definition Classes
- DrawContextFX → DrawContext
- val thisAny: DrawContextFX
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toString(): String
- Definition Classes
- AnyRef → Any
- def touch: List[Line]
- Definition Classes
- DrawContext
- 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 weight: Double
- Definition Classes
- DrawContextFX → DrawContext
Deprecated Value Members
- def ?>(f: (DrawContextFX) => Boolean): Option[DrawContextFX]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] 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
- def |>[B](f: (DrawContextFX) => B): B
- Implicit
- This member is added by an implicit conversion from DrawContextFX toDrxAny[DrawContextFX] 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): (DrawContextFX, B)
- Implicit
- This member is added by an implicit conversion from DrawContextFX toArrowAssoc[DrawContextFX] 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.