Packages

trait Shape extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shape
  2. AnyRef
  3. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

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

    generic draw method

Concrete Value Members

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

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Shape toDrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def elementOf(xs: Set[Shape]): Boolean
    Implicit
    This member is added by an implicit conversion from Shape toDrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. def ensuring(cond: (Shape) => Boolean, msg: => Any): Shape
    Implicit
    This member is added by an implicit conversion from Shape toEnsuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Shape) => Boolean): Shape
    Implicit
    This member is added by an implicit conversion from Shape toEnsuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): Shape
    Implicit
    This member is added by an implicit conversion from Shape toEnsuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Shape
    Implicit
    This member is added by an implicit conversion from Shape toEnsuring[Shape] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Shape toStringFormat[Shape] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def noneIf(f: (Shape) => Boolean): Option[Shape]
    Implicit
    This member is added by an implicit conversion from Shape toDrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def optionIf(f: (Shape) => Boolean): Option[Shape]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Shape toDrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  29. def someIf(f: (Shape) => Boolean): Option[Shape]
    Implicit
    This member is added by an implicit conversion from Shape toDrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. val thisAny: Shape
    Implicit
    This member is added by an implicit conversion from Shape toDrxAny[Shape] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. def ~(color: Color): Styled

    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)

  37. def ~(property: Property): Styled

    initialize shape with a style

  38. def ~(style: Style): Styled

    Attach a style to a shape

Deprecated Value Members

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

    alias for option if

    alias for option if

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

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

Inherited from Any

Inherited by implicit conversion richDrxAny fromShape to DrxAny[Shape]

Inherited by implicit conversion any2stringadd fromShape to any2stringadd[Shape]

Inherited by implicit conversion StringFormat fromShape to StringFormat[Shape]

Inherited by implicit conversion Ensuring fromShape to Ensuring[Shape]

Inherited by implicit conversion ArrowAssoc fromShape to ArrowAssoc[Shape]

Ungrouped