Packages

c

cc.drx.p5.Draw

RichPoly

implicit final class RichPoly extends AnyVal with ClosedShape

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

Value Members

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

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from RichPoly toDrxAny[RichPoly] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  3. def draw(implicit g: processing.core.PGraphics): Unit
    Definition Classes
    RichPolyShape
  4. def elementOf(xs: Set[RichPoly]): Boolean
    Implicit
    This member is added by an implicit conversion from RichPoly toDrxAny[RichPoly] 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: (RichPoly) => Boolean): Option[RichPoly]
    Implicit
    This member is added by an implicit conversion from RichPoly toDrxAny[RichPoly] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  7. def optionIf(f: (RichPoly) => Boolean): Option[RichPoly]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

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

    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 RichPoly toBoundOps[RichPoly] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[RichPoly] 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: (RichPoly) => Boolean): Option[RichPoly]

    alias for option if

    alias for option if

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