implicit final class RichImg extends AnyVal with Shape
- Source
- draw.scala
- Alphabetic
- By Inheritance
- RichImg
- Shape
- AnyVal
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (RichImg, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyIf(t: Boolean, f: (RichImg) => RichImg): RichImg
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (RichImg) => Boolean)(f: (RichImg) => RichImg): RichImg
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def draw(implicit g: processing.core.PGraphics): Unit
- def elementOf(xs: Set[RichImg]): Boolean
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (RichImg) => Boolean, msg: => Any): RichImg
- def ensuring(cond: (RichImg) => Boolean): RichImg
- def ensuring(cond: Boolean, msg: => Any): RichImg
- def ensuring(cond: Boolean): RichImg
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- val img: Img
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noneIf(f: (RichImg) => Boolean): Option[RichImg]
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (RichImg) => Boolean): Option[RichImg]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (RichImg) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (RichImg) => Unit): RichImg
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (RichImg) => Boolean): Option[RichImg]
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: RichImg
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: RichImg): Bound[RichImg]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toString(): String
- Definition Classes
- Any
- def ~(color: Color): StyledShape
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
- def ~(property: Property): StyledShape
- Definition Classes
- Shape
- def ~(style: Style): StyledShape
- Definition Classes
- Shape
Deprecated Value Members
- def ?>(f: (RichImg) => Boolean): Option[RichImg]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] 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 draw(style: Style)(implicit g: processing.core.PGraphics): Unit
- Definition Classes
- Shape
- Annotations
- @deprecated
- Deprecated
(Since version v0.1.18) use (g ! shape ~ style) or (shape ~ style draw g) instead
- def pImg: PImage
- Annotations
- @deprecated
- Deprecated
(Since version 0.2.13) use img.draw(g) or g ! img instead
- def |>[B](f: (RichImg) => B): B
- Implicit
- This member is added by an implicit conversion from RichImg toDrxAny[RichImg] 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): (RichImg, B)
- Implicit
- This member is added by an implicit conversion from RichImg toArrowAssoc[RichImg] 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.