Packages

c

cc.drx.p5.Draw

RichRect

implicit final class RichRect extends AnyVal with ClosedShape

Source
draw.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichRect
  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 RichRect(r: Rect)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RichRect toany2stringadd[RichRect] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RichRect, B)
    Implicit
    This member is added by an implicit conversion from RichRect toArrowAssoc[RichRect] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def applyIf(t: Boolean, f: (RichRect) => RichRect): RichRect
    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  7. def applyIf(t: (RichRect) => Boolean)(f: (RichRect) => RichRect): RichRect

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def draw(implicit g: processing.core.PGraphics): Unit
    Definition Classes
    RichRectShape
  10. def elementOf(xs: Set[RichRect]): Boolean
    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. def ensuring(cond: (RichRect) => Boolean, msg: => Any): RichRect
    Implicit
    This member is added by an implicit conversion from RichRect toEnsuring[RichRect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (RichRect) => Boolean): RichRect
    Implicit
    This member is added by an implicit conversion from RichRect toEnsuring[RichRect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): RichRect
    Implicit
    This member is added by an implicit conversion from RichRect toEnsuring[RichRect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): RichRect
    Implicit
    This member is added by an implicit conversion from RichRect toEnsuring[RichRect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RichRect toStringFormat[RichRect] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def noneIf(f: (RichRect) => Boolean): Option[RichRect]
    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  19. def optionIf(f: (RichRect) => Boolean): Option[RichRect]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  23. def someIf(f: (RichRect) => Boolean): Option[RichRect]
    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  24. val thisAny: RichRect
    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  25. def till(maxArg: RichRect): Bound[RichRect]

    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 RichRect toBoundOps[RichRect] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[RichRect] is in scope.
    Definition Classes
    BoundOps
  26. def toString(): String
    Definition Classes
    Any
  27. 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
  28. def ~(property: Property): StyledShape
    Definition Classes
    Shape
  29. def ~(style: Style): StyledShape
    Definition Classes
    Shape

Deprecated Value Members

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

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from RichRect toDrxAny[RichRect] 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(cornerRadius: Double)(implicit g: processing.core.PGraphics): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) dont include styles in the drawing context

  3. 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

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

  5. def [B](y: B): (RichRect, B)
    Implicit
    This member is added by an implicit conversion from RichRect toArrowAssoc[RichRect] 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 ClosedShape

Inherited from Shape

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion richDrxAny fromRichRect to DrxAny[RichRect]

Inherited by implicit conversion DrxBoundOps fromRichRect to BoundOps[RichRect]

Inherited by implicit conversion any2stringadd fromRichRect to any2stringadd[RichRect]

Inherited by implicit conversion StringFormat fromRichRect to StringFormat[RichRect]

Inherited by implicit conversion Ensuring fromRichRect to Ensuring[RichRect]

Inherited by implicit conversion ArrowAssoc fromRichRect to ArrowAssoc[RichRect]

Ungrouped