trait ClosedShape extends Shape
these are shapes that have an area and default to coloring by area rather than stroke
- Source
- draw.scala
- Alphabetic
- By Inheritance
- ClosedShape
- Shape
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ClosedShape toany2stringadd[ClosedShape] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ClosedShape, B)
- Implicit
- This member is added by an implicit conversion from ClosedShape toArrowAssoc[ClosedShape] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyIf(t: Boolean, f: (ClosedShape) => ClosedShape): ClosedShape
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (ClosedShape) => Boolean)(f: (ClosedShape) => ClosedShape): ClosedShape
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def elementOf(xs: Set[ClosedShape]): Boolean
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (ClosedShape) => Boolean, msg: => Any): ClosedShape
- Implicit
- This member is added by an implicit conversion from ClosedShape toEnsuring[ClosedShape] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ClosedShape) => Boolean): ClosedShape
- Implicit
- This member is added by an implicit conversion from ClosedShape toEnsuring[ClosedShape] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ClosedShape
- Implicit
- This member is added by an implicit conversion from ClosedShape toEnsuring[ClosedShape] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ClosedShape
- Implicit
- This member is added by an implicit conversion from ClosedShape toEnsuring[ClosedShape] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ClosedShape toStringFormat[ClosedShape] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def hashCode(): Int
- Definition Classes
- Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noneIf(f: (ClosedShape) => Boolean): Option[ClosedShape]
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (ClosedShape) => Boolean): Option[ClosedShape]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (ClosedShape) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (ClosedShape) => Unit): ClosedShape
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (ClosedShape) => Boolean): Option[ClosedShape]
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: ClosedShape
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[ClosedShape] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: ClosedShape): Bound[ClosedShape]
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 ClosedShape toBoundOps[ClosedShape] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[ClosedShape] is in scope.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- Any
- 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
- ClosedShape → Shape
- def ~(property: Property): StyledShape
- Definition Classes
- Shape
- def ~(style: Style): StyledShape
- Definition Classes
- Shape
Deprecated Value Members
- def ?>(f: (ClosedShape) => Boolean): Option[ClosedShape]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[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
- 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
- def |>[B](f: (ClosedShape) => B): B
- Implicit
- This member is added by an implicit conversion from ClosedShape toDrxAny[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)
- def →[B](y: B): (ClosedShape, B)
- Implicit
- This member is added by an implicit conversion from ClosedShape toArrowAssoc[ClosedShape] 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.