class DrawContextP5 extends DrawContext
- Source
- DrawContextP5.scala
- Alphabetic
- By Inheritance
- DrawContextP5
- DrawContext
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DrawContextP5(g: processing.core.PGraphics)
Value Members
- def !(z: Bezier): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(star: Star): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(html: Html): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(video: Video): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(svg: Svg): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(img: Img): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(e: Ellipse): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(a: Arc): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(tri: Tri): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(s: Poly): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(s: Text): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(s: Rect): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(s: Line): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(s: Circ): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Path): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Rotate): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: ScaleProperty): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Translate): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Align): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Font): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Weight): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: StrokeNone.type): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: FillNone.type): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Stroke): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Fill): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Background): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- def !(p: Default.type): Unit
- Definition Classes
- DrawContextP5 → 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 DrawContextP5 toany2stringadd[DrawContextP5] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- 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
- DrawContextP5 → 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[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
- def emptyCache(): scala.collection.concurrent.TrieMap[File, PImage]
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fill: Option[Color]
- Definition Classes
- DrawContextP5 → 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 DrawContextP5 toStringFormat[DrawContextP5] 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: processing.core.PGraphics
- 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 matrix(f: => Unit): Unit
- 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: (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
- 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: (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
- def pFont(font: Font): PFont
- 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
- def press: Option[Vec]
- Definition Classes
- DrawContext
- def remote(video: Video): MediaRemote
- Definition Classes
- DrawContextP5 → DrawContext
- def save(file: File): drx.Try[File]
- Definition Classes
- DrawContextP5 → DrawContext
- def save: drx.Try[File]
- Definition Classes
- DrawContext
- def save(img: Img, file: File): drx.Try[File]
- Definition Classes
- DrawContext
- def screen: Rect
- Definition Classes
- DrawContext
- def scrollSum: Vec
- Definition Classes
- DrawContext
- 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
- def size: Vec
- Definition Classes
- DrawContextP5 → DrawContext
- def snapshot: Img
- Definition Classes
- DrawContext
- def snapshot(size: Vec): Img
- Definition Classes
- DrawContext
- 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
- def stroke: Option[Color]
- Definition Classes
- DrawContextP5 → DrawContext
- def style(f: => Unit): Unit
- Definition Classes
- DrawContextP5 → DrawContext
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def textSize(text: Text, font: Font): Vec
- Definition Classes
- DrawContextP5 → DrawContext
- def textWidth(f: Font, str: String): Double
compute the width of represented string
- 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
- 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
- DrawContextP5 → DrawContext
Deprecated Value Members
- 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
- 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)
- 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.