Packages

class DrawContextFX extends DrawContext

Source
DrawContextFX.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrawContextFX
  2. DrawContext
  3. AnyRef
  4. 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 DrawContextFX(g: GraphicsContext, scene: Option[Scene] = None)

Type Members

  1. class FontFX extends AnyRef

Value Members

  1. def !(z: Bezier): Unit
    Definition Classes
    DrawContextFXDrawContext
  2. def !(star: Star): Unit
    Definition Classes
    DrawContextFXDrawContext
  3. def !(svg: Svg): Unit
    Definition Classes
    DrawContextFXDrawContext
  4. def !(img: Img): Unit
    Definition Classes
    DrawContextFXDrawContext
  5. def !(e: Ellipse): Unit
    Definition Classes
    DrawContextFXDrawContext
  6. def !(a: Arc): Unit
    Definition Classes
    DrawContextFXDrawContext
  7. def !(tri: Tri): Unit
    Definition Classes
    DrawContextFXDrawContext
  8. def !(s: Poly): Unit
    Definition Classes
    DrawContextFXDrawContext
  9. def !(s: Text): Unit
    Definition Classes
    DrawContextFXDrawContext
  10. def !(s: Rect): Unit
    Definition Classes
    DrawContextFXDrawContext
  11. def !(s: Line): Unit
    Definition Classes
    DrawContextFXDrawContext
  12. def !(s: Circ): Unit
    Definition Classes
    DrawContextFXDrawContext
  13. def !(p: Path): Unit
    Definition Classes
    DrawContextFXDrawContext
  14. def !(p: Rotate): Unit
    Definition Classes
    DrawContextFXDrawContext
  15. def !(p: ScaleProperty): Unit
    Definition Classes
    DrawContextFXDrawContext
  16. def !(p: Translate): Unit
    Definition Classes
    DrawContextFXDrawContext
  17. def !(p: Align): Unit
    Definition Classes
    DrawContextFXDrawContext
  18. def !(html: Html): Unit
    Definition Classes
    DrawContextFXDrawContext
  19. def !(video: Video): Unit
    Definition Classes
    DrawContextFXDrawContext
  20. def !(p: Font): Unit
    Definition Classes
    DrawContextFXDrawContext
  21. def !(p: StrokeNone.type): Unit
    Definition Classes
    DrawContextFXDrawContext
  22. def !(p: FillNone.type): Unit
    Definition Classes
    DrawContextFXDrawContext
  23. def !(p: Weight): Unit
    Definition Classes
    DrawContextFXDrawContext
  24. def !(p: Stroke): Unit
    Definition Classes
    DrawContextFXDrawContext
  25. def !(p: Fill): Unit
    Definition Classes
    DrawContextFXDrawContext
  26. def !(p: Background): Unit
    Definition Classes
    DrawContextFXDrawContext
  27. def !(p: Default.type): Unit
    Definition Classes
    DrawContextFXDrawContext
  28. def ![A, B](a: Axes[A, B]): Unit
    Definition Classes
    DrawContext
  29. final def !(style: Style): Unit
    Definition Classes
    DrawContext
  30. final def !(p: Transform): Unit
    Definition Classes
    DrawContext
  31. final def !(p: Sketch): Unit
    Definition Classes
    DrawContext
  32. final def !(ps: Empty): Unit
    Definition Classes
    DrawContext
  33. final def !(ps: Iterable[Shape]): Unit
    Definition Classes
    DrawContext
  34. final def !(p: Grouped): Unit
    Definition Classes
    DrawContext
  35. final def !(s: Styled): Unit
    Definition Classes
    DrawContext
  36. final def !(p: AlignVertical): Unit
    Definition Classes
    DrawContext
  37. final def !(p: AlignHorizontal): Unit
    Definition Classes
    DrawContext
  38. def !(arrow: Arrow): Unit
    Definition Classes
    DrawContext
  39. def !(s: SvgPath): Unit
    Definition Classes
    DrawContext
  40. def !(s: Polys): Unit
    Definition Classes
    DrawContext
  41. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  42. final def ##: Int
    Definition Classes
    AnyRef → Any
  43. 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
  44. 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()
  45. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  46. 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
  47. 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
  48. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  49. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  50. 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
    DrawContextFXDrawContext
  51. def drag: Option[Line]
    Definition Classes
    DrawContext
  52. final def drawShape(shape: Shape): Unit
    Definition Classes
    DrawContext
  53. def drop: Option[String]
    Definition Classes
    DrawContext
  54. 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
  55. def emptyCache(): scala.collection.concurrent.TrieMap[File, VideoFX]
  56. 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
  57. 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
  58. 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
  59. 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
  60. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  62. def fill: Option[Color]
    Definition Classes
    DrawContextFXDrawContext
  63. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  64. def focus: Boolean
    Definition Classes
    DrawContext
  65. 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()
  66. final def fps: Int
    Definition Classes
    DrawContext
  67. final def frame: Long
    Definition Classes
    DrawContext
  68. final def frameRate: Frequency
    Definition Classes
    DrawContext
  69. val g: GraphicsContext
  70. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  71. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  72. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  73. implicit val keyboard: Keyboard
    Definition Classes
    DrawContext
  74. def lastClick: Option[Vec]
    Definition Classes
    DrawContext
  75. def lastDrag: Option[Line]
    Definition Classes
    DrawContext
  76. def lastPress: Option[Vec]
    Definition Classes
    DrawContext
  77. def lastRelease: Option[Vec]
    Definition Classes
    DrawContext
  78. def mouse: Vec
    Definition Classes
    DrawContext
  79. def mouseOption: Option[Vec]
    Definition Classes
    DrawContext
  80. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  81. 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
  82. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  83. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  84. def onInit(f: => Unit): Unit
    Definition Classes
    DrawContext
  85. def onRelease(f: (Vec) => Unit): Unit
    Definition Classes
    DrawContext
  86. 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
  87. 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
  88. def press: Option[Vec]
    Definition Classes
    DrawContext
  89. def remote(video: Video): MediaRemote
    Definition Classes
    DrawContextFXDrawContext
  90. def save(file: File): drx.Try[File]
    Definition Classes
    DrawContextFXDrawContext
  91. def save(img: Img, file: File): drx.Try[File]
    Definition Classes
    DrawContextFXDrawContext
  92. def save: drx.Try[File]
    Definition Classes
    DrawContext
  93. val scene: Option[Scene]
  94. def screen: Rect
    Definition Classes
    DrawContext
  95. def scrollSum: Vec
    Definition Classes
    DrawContext
  96. 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
  97. def size: Vec
    Definition Classes
    DrawContextFXDrawContext
  98. def sketchWith(draw: (DrawContext) => Unit, maxFPS: Option[Int]): Unit
  99. def sketchWith(frameRate: Frequency)(draw: (DrawContext) => Unit): Unit
  100. def sketchWith(draw: (DrawContext) => Unit): Unit
  101. def snapshot: Img
    Definition Classes
    DrawContextFXDrawContext
  102. def snapshot(size: Vec): Img
    Definition Classes
    DrawContextFXDrawContext
  103. 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
  104. def stroke: Option[Color]
    Definition Classes
    DrawContextFXDrawContext
  105. def style(f: => Unit): Unit
    Definition Classes
    DrawContextFXDrawContext
  106. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  107. def textSize(text: Text, font: Font): Vec

    compute the width of represented string

    compute the width of represented string

    Definition Classes
    DrawContextFXDrawContext
  108. 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
  109. def toString(): String
    Definition Classes
    AnyRef → Any
  110. def touch: List[Line]
    Definition Classes
    DrawContext
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  112. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  113. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  114. def weight: Double
    Definition Classes
    DrawContextFXDrawContext

Deprecated Value Members

  1. 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

  2. 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)

  3. 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.

Inherited from DrawContext

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromDrawContextFX to DrxAny[DrawContextFX]

Inherited by implicit conversion any2stringadd fromDrawContextFX to any2stringadd[DrawContextFX]

Inherited by implicit conversion StringFormat fromDrawContextFX to StringFormat[DrawContextFX]

Inherited by implicit conversion Ensuring fromDrawContextFX to Ensuring[DrawContextFX]

Inherited by implicit conversion ArrowAssoc fromDrawContextFX to ArrowAssoc[DrawContextFX]

Ungrouped