Trait

cc.drx.p5.Draw

ClosedShape

Related Doc: package Draw

Permalink

trait ClosedShape extends Shape

these are shapes that have an area and default to coloring by area rather than stroke

Source
draw.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClosedShape
  2. Shape
  3. 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
    Definition Classes
    Shape
  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 ClosedShape to any2stringadd[ClosedShape] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ClosedShape, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClosedShape to ArrowAssoc[ClosedShape] 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: ClosedShape

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

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

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

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

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClosedShape to Ensuring[ClosedShape] 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 ClosedShape to StringFormat[ClosedShape] 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: ClosedShape

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

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

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

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

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

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

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

    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

    Permalink
    Definition Classes
    Shape
  29. def ~(style: Style): StyledShape

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

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

Deprecated Value Members

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

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

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

Inherited from Any

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

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

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

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

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

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

Ungrouped