Packages

c

cc.drx.p5

DrawContextP5

class DrawContextP5 extends DrawContext

Source
DrawContextP5.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrawContextP5
  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 DrawContextP5(g: processing.core.PGraphics)

Value Members

  1. def !(z: Bezier): Unit
    Definition Classes
    DrawContextP5DrawContext
  2. def !(star: Star): Unit
    Definition Classes
    DrawContextP5DrawContext
  3. def !(html: Html): Unit
    Definition Classes
    DrawContextP5DrawContext
  4. def !(video: Video): Unit
    Definition Classes
    DrawContextP5DrawContext
  5. def !(svg: Svg): Unit
    Definition Classes
    DrawContextP5DrawContext
  6. def !(img: Img): Unit
    Definition Classes
    DrawContextP5DrawContext
  7. def !(e: Ellipse): Unit
    Definition Classes
    DrawContextP5DrawContext
  8. def !(a: Arc): Unit
    Definition Classes
    DrawContextP5DrawContext
  9. def !(tri: Tri): Unit
    Definition Classes
    DrawContextP5DrawContext
  10. def !(s: Poly): Unit
    Definition Classes
    DrawContextP5DrawContext
  11. def !(s: Text): Unit
    Definition Classes
    DrawContextP5DrawContext
  12. def !(s: Rect): Unit
    Definition Classes
    DrawContextP5DrawContext
  13. def !(s: Line): Unit
    Definition Classes
    DrawContextP5DrawContext
  14. def !(s: Circ): Unit
    Definition Classes
    DrawContextP5DrawContext
  15. def !(p: Path): Unit
    Definition Classes
    DrawContextP5DrawContext
  16. def !(p: Rotate): Unit
    Definition Classes
    DrawContextP5DrawContext
  17. def !(p: ScaleProperty): Unit
    Definition Classes
    DrawContextP5DrawContext
  18. def !(p: Translate): Unit
    Definition Classes
    DrawContextP5DrawContext
  19. def !(p: Align): Unit
    Definition Classes
    DrawContextP5DrawContext
  20. def !(p: Font): Unit
    Definition Classes
    DrawContextP5DrawContext
  21. def !(p: Weight): Unit
    Definition Classes
    DrawContextP5DrawContext
  22. def !(p: StrokeNone.type): Unit
    Definition Classes
    DrawContextP5DrawContext
  23. def !(p: FillNone.type): Unit
    Definition Classes
    DrawContextP5DrawContext
  24. def !(p: Stroke): Unit
    Definition Classes
    DrawContextP5DrawContext
  25. def !(p: Fill): Unit
    Definition Classes
    DrawContextP5DrawContext
  26. def !(p: Background): Unit
    Definition Classes
    DrawContextP5DrawContext
  27. def !(p: Default.type): Unit
    Definition Classes
    DrawContextP5DrawContext
  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 DrawContextP5 toany2stringadd[DrawContextP5] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  44. def ->[B](y: B): (DrawContextP5, B)
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toArrowAssoc[DrawContextP5] 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: (DrawContextP5) => DrawContextP5): DrawContextP5
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  47. def applyIf(t: (DrawContextP5) => Boolean)(f: (DrawContextP5) => DrawContextP5): DrawContextP5

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] 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
    DrawContextP5DrawContext
  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[DrawContextP5]): Boolean
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  55. def emptyCache(): scala.collection.concurrent.TrieMap[File, PImage]
  56. def ensuring(cond: (DrawContextP5) => Boolean, msg: => Any): DrawContextP5
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toEnsuring[DrawContextP5] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  57. def ensuring(cond: (DrawContextP5) => Boolean): DrawContextP5
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toEnsuring[DrawContextP5] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  58. def ensuring(cond: Boolean, msg: => Any): DrawContextP5
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toEnsuring[DrawContextP5] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  59. def ensuring(cond: Boolean): DrawContextP5
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toEnsuring[DrawContextP5] 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
    DrawContextP5DrawContext
  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 DrawContextP5 toStringFormat[DrawContextP5] 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: processing.core.PGraphics
  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 matrix(f: => Unit): Unit
  79. def mouse: Vec
    Definition Classes
    DrawContext
  80. def mouseOption: Option[Vec]
    Definition Classes
    DrawContext
  81. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  82. def noneIf(f: (DrawContextP5) => Boolean): Option[DrawContextP5]
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  83. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  84. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  85. def onInit(f: => Unit): Unit
    Definition Classes
    DrawContext
  86. def onRelease(f: (Vec) => Unit): Unit
    Definition Classes
    DrawContext
  87. def optionIf(f: (DrawContextP5) => Boolean): Option[DrawContextP5]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  88. def pFont(font: Font): PFont
  89. def preApply[B](f: (DrawContextP5) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  90. def press: Option[Vec]
    Definition Classes
    DrawContext
  91. def remote(video: Video): MediaRemote
    Definition Classes
    DrawContextP5DrawContext
  92. def save(file: File): drx.Try[File]
    Definition Classes
    DrawContextP5DrawContext
  93. def save: drx.Try[File]
    Definition Classes
    DrawContext
  94. def save(img: Img, file: File): drx.Try[File]
    Definition Classes
    DrawContext
  95. def screen: Rect
    Definition Classes
    DrawContext
  96. def scrollSum: Vec
    Definition Classes
    DrawContext
  97. def sideEffect(f: (DrawContextP5) => Unit): DrawContextP5

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  98. def size: Vec
    Definition Classes
    DrawContextP5DrawContext
  99. def snapshot: Img
    Definition Classes
    DrawContext
  100. def snapshot(size: Vec): Img
    Definition Classes
    DrawContext
  101. def someIf(f: (DrawContextP5) => Boolean): Option[DrawContextP5]
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  102. def stroke: Option[Color]
    Definition Classes
    DrawContextP5DrawContext
  103. def style(f: => Unit): Unit
    Definition Classes
    DrawContextP5DrawContext
  104. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  105. def textSize(text: Text, font: Font): Vec
    Definition Classes
    DrawContextP5DrawContext
  106. def textWidth(f: Font, str: String): Double

    compute the width of represented string

  107. val thisAny: DrawContextP5
    Implicit
    This member is added by an implicit conversion from DrawContextP5 toDrxAny[DrawContextP5] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  108. def toString(): String
    Definition Classes
    AnyRef → Any
  109. def touch: List[Line]
    Definition Classes
    DrawContext
  110. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  111. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  112. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  113. def weight: Double
    Definition Classes
    DrawContextP5DrawContext

Deprecated Value Members

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

    alias for option if

    alias for option if

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

Inherited by implicit conversion any2stringadd fromDrawContextP5 to any2stringadd[DrawContextP5]

Inherited by implicit conversion StringFormat fromDrawContextP5 to StringFormat[DrawContextP5]

Inherited by implicit conversion Ensuring fromDrawContextP5 to Ensuring[DrawContextP5]

Inherited by implicit conversion ArrowAssoc fromDrawContextP5 to ArrowAssoc[DrawContextP5]

Ungrouped