Packages

class SketchAppFX extends SketchApp

Source
DrawContextFX.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SketchAppFX
  2. SketchApp
  3. Sketch
  4. Shape
  5. AnyRef
  6. 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 SketchAppFX()

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 SketchAppFX toany2stringadd[SketchAppFX] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. final def +=(f: (DrawContext) => Unit): Sketch

    safely add new draw functions

    safely add new draw functions

    Definition Classes
    Sketch
  5. def ->[B](y: B): (SketchAppFX, B)
    Implicit
    This member is added by an implicit conversion from SketchAppFX toArrowAssoc[SketchAppFX] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def :=(f: (DrawContext) => Unit): Sketch
    Definition Classes
    Sketch
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. var _args: Array[String]
    Attributes
    protected[drx]
    Definition Classes
    SketchApp
  9. def applyIf(t: Boolean, f: (SketchAppFX) => SketchAppFX): SketchAppFX
    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def applyIf(t: (SketchAppFX) => Boolean)(f: (SketchAppFX) => SketchAppFX): SketchAppFX

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. final def applySettings(scene: Scene, ctx: DrawContext): Unit
  12. final def applySettings(stage: Stage, ctx: DrawContext): Unit
  13. def args: Array[String]
    Definition Classes
    SketchApp
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def background: Color
    Definition Classes
    SketchApp
  16. final def clear: Unit

    remove all draw functions

    remove all draw functions

    Definition Classes
    Sketch
  17. def clearEachFrame: Boolean
    Definition Classes
    SketchApp
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  19. final def draw(implicit g: DrawContext): Unit

    the interface of any Shape that can be sent to a render the fact that a Sketch itself can be a shape provides nice composability

    the interface of any Shape that can be sent to a render the fact that a Sketch itself can be a shape provides nice composability

    Definition Classes
    SketchShape
  20. final def drawFunctions: Iterable[(DrawContext) => Unit]

    safely access the iterator over all drawFunctions

    safely access the iterator over all drawFunctions

    Definition Classes
    Sketch
  21. def elementOf(xs: Set[SketchAppFX]): Boolean
    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  22. def ensuring(cond: (SketchAppFX) => Boolean, msg: => Any): SketchAppFX
    Implicit
    This member is added by an implicit conversion from SketchAppFX toEnsuring[SketchAppFX] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: (SketchAppFX) => Boolean): SketchAppFX
    Implicit
    This member is added by an implicit conversion from SketchAppFX toEnsuring[SketchAppFX] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean, msg: => Any): SketchAppFX
    Implicit
    This member is added by an implicit conversion from SketchAppFX toEnsuring[SketchAppFX] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean): SketchAppFX
    Implicit
    This member is added by an implicit conversion from SketchAppFX toEnsuring[SketchAppFX] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  29. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SketchAppFX toStringFormat[SketchAppFX] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def icon: ImgFile
    Definition Classes
    SketchApp
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def launch(args: Array[String]): Unit
    Definition Classes
    SketchAppFXSketchApp
  35. final def launch(): drx.Future[Unit]
    Definition Classes
    SketchApp
  36. final def launch(implicit ec: drx.ExecutionContext): drx.Future[Unit]
    Definition Classes
    SketchApp
  37. def main(args: Array[String]): Unit
    Definition Classes
    SketchApp
  38. def maxFPS: Option[Int]
    Definition Classes
    SketchApp
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. def noneIf(f: (SketchAppFX) => Boolean): Option[SketchAppFX]
    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def onDraw(f: (DrawContext) => Unit): Unit

    alias to '+=' (add) a draw function, this is a helper function to reduce boiler plate; (adds return of unit ()) when only a single draw funtion is desired in an automatic app

    alias to '+=' (add) a draw function, this is a helper function to reduce boiler plate; (adds return of unit ()) when only a single draw funtion is desired in an automatic app

    Definition Classes
    SketchApp
  44. def optionIf(f: (SketchAppFX) => Boolean): Option[SketchAppFX]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  47. def size: Vec
    Definition Classes
    SketchApp
  48. def sketch: SketchApp

    alias to this so a SketchApp can be easily and automatically constructed

    alias to this so a SketchApp can be easily and automatically constructed

    Definition Classes
    SketchApp
  49. def someIf(f: (SketchAppFX) => Boolean): Option[SketchAppFX]
    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. val thisAny: SketchAppFX
    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  52. def title: String
    Definition Classes
    SketchApp
  53. def toString(): String
    Definition Classes
    SketchApp → AnyRef → Any
  54. def transparent: Boolean
    Definition Classes
    SketchApp
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. 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
    Shape
  59. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  60. 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: (SketchAppFX) => Boolean): Option[SketchAppFX]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] 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: (SketchAppFX) => B): B
    Implicit
    This member is added by an implicit conversion from SketchAppFX toDrxAny[SketchAppFX] 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): (SketchAppFX, B)
    Implicit
    This member is added by an implicit conversion from SketchAppFX toArrowAssoc[SketchAppFX] 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 SketchApp

Inherited from Sketch

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromSketchAppFX to DrxAny[SketchAppFX]

Inherited by implicit conversion any2stringadd fromSketchAppFX to any2stringadd[SketchAppFX]

Inherited by implicit conversion StringFormat fromSketchAppFX to StringFormat[SketchAppFX]

Inherited by implicit conversion Ensuring fromSketchAppFX to Ensuring[SketchAppFX]

Inherited by implicit conversion ArrowAssoc fromSketchAppFX to ArrowAssoc[SketchAppFX]

Ungrouped