Trait

cc.drx.p5.Draw

Shape

Related Doc: package Draw

Permalink

trait Shape extends Any

Generic shape class

Source
draw.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shape
  2. 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. All

Abstract Value Members

  1. abstract def draw(implicit g: PGraphics): Unit

    Permalink
  2. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to any2stringadd[Shape] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Shape, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to ArrowAssoc[Shape] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. val a: Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  7. def applyIf(t: Boolean, f: (Shape) ⇒ Shape): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. def applyIf(t: (Shape) ⇒ Boolean)(f: (Shape) ⇒ Shape): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def elementOf(xs: Set[Shape]): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. def ensuring(cond: (Shape) ⇒ Boolean, msg: ⇒ Any): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to Ensuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Shape) ⇒ Boolean): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to Ensuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to Ensuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to Ensuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to StringFormat[Shape] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val min: Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to BoundOps[Shape] performed by method DrxBoundOps in cc.drx.predef.Enrich.
    Definition Classes
    BoundOps
  20. def noneIf(f: (Shape) ⇒ Boolean): Option[Shape]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  21. def optionIf(f: (Shape) ⇒ Boolean): Option[Shape]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  22. def preApply[B](f: (Shape) ⇒ B): B

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  23. def sideEffect(f: (Shape) ⇒ Unit): Shape

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  24. def someIf(f: (Shape) ⇒ Boolean): Option[Shape]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  25. def to(max: Shape)(implicit b: Boundable[Shape]): Bound[Shape]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to BoundOps[Shape] performed by method DrxBoundOps in cc.drx.predef.Enrich.
    Definition Classes
    BoundOps
  26. def toString(): String

    Permalink
    Definition Classes
    Any
  27. def ~(color: Color): StyledShape

    Permalink

    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)

  28. def ~(property: Property): StyledShape

    Permalink
  29. def ~(style: Style): StyledShape

    Permalink
  30. def [B](y: B): (Shape, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to ArrowAssoc[Shape] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def ?>(f: (Shape) ⇒ Boolean): Option[Shape]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] 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: PGraphics): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version v0.1.18) use (g ! shape ~ style) or (shape ~ style draw g) instead

  3. def |>[B](f: (Shape) ⇒ B): B

    Permalink
    Implicit information
    This member is added by an implicit conversion from Shape to DrxAny[Shape] 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)

Inherited from Any

Inherited by implicit conversion richDrxAny from Shape to DrxAny[Shape]

Inherited by implicit conversion DrxBoundOps from Shape to BoundOps[Shape]

Inherited by implicit conversion any2stringadd from Shape to any2stringadd[Shape]

Inherited by implicit conversion StringFormat from Shape to StringFormat[Shape]

Inherited by implicit conversion Ensuring from Shape to Ensuring[Shape]

Inherited by implicit conversion ArrowAssoc from Shape to ArrowAssoc[Shape]

Ungrouped