Packages

c

cc.drx.p5.Draw

RichText

implicit final class RichText extends AnyVal with ClosedShape

Source
draw.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichText
  2. ClosedShape
  3. Shape
  4. AnyVal
  5. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RichText(text: Text)

Value Members

  1. def applyIf(t: Boolean, f: (RichText) => RichText): RichText
    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  2. def applyIf(t: (RichText) => Boolean)(f: (RichText) => RichText): RichText

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  3. def draw(implicit g: processing.core.PGraphics): Unit
    Definition Classes
    RichTextShape
  4. def elementOf(xs: Set[RichText]): Boolean
    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. def noneIf(f: (RichText) => Boolean): Option[RichText]
    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  7. def optionIf(f: (RichText) => Boolean): Option[RichText]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def someIf(f: (RichText) => Boolean): Option[RichText]
    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. val text: Text
  12. val thisAny: RichText
    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  13. def till(maxArg: RichText): Bound[RichText]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from RichText toBoundOps[RichText] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[RichText] is in scope.
    Definition Classes
    BoundOps
  14. 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
    ClosedShapeShape
  15. def ~(property: Property): StyledShape
    Definition Classes
    Shape
  16. def ~(style: Style): StyledShape
    Definition Classes
    Shape

Deprecated Value Members

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

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] 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 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

  3. def |>[B](f: (RichText) => B): B
    Implicit
    This member is added by an implicit conversion from RichText toDrxAny[RichText] 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)