Packages

t

cc.drx

Sketch

trait Sketch extends Shape

Source
Sketch.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sketch
  2. Shape
  3. AnyRef
  4. 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

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 Sketch toany2stringadd[Sketch] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. final def +=(f: (DrawContext) => Unit): Sketch

    safely add new draw functions

  5. def ->[B](y: B): (Sketch, B)
    Implicit
    This member is added by an implicit conversion from Sketch toArrowAssoc[Sketch] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def :=(f: (DrawContext) => Unit): Sketch
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def applyIf(t: Boolean, f: (Sketch) => Sketch): Sketch
    Implicit
    This member is added by an implicit conversion from Sketch toDrxAny[Sketch] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. def applyIf(t: (Sketch) => Boolean)(f: (Sketch) => Sketch): Sketch

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Sketch toDrxAny[Sketch] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. final def clear: Unit

    remove all draw functions

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. final def draw(implicit g: DrawContext): Unit

    the interface of any Shape that can be sent to a render the fact that a Sketch itself can be a shape provides nice composability

    the interface of any Shape that can be sent to a render the fact that a Sketch itself can be a shape provides nice composability

    Definition Classes
    SketchShape
  14. final def drawFunctions: Iterable[(DrawContext) => Unit]

    safely access the iterator over all drawFunctions

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

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Sketch toDrxAny[Sketch] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. def someIf(f: (Sketch) => Boolean): Option[Sketch]
    Implicit
    This member is added by an implicit conversion from Sketch toDrxAny[Sketch] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. val thisAny: Sketch
    Implicit
    This member is added by an implicit conversion from Sketch toDrxAny[Sketch] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. 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)

    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
    Shape
  42. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  43. def ~(style: Style): Styled

    Attach a style to a shape

    Attach a style to a shape

    Definition Classes
    Shape

Deprecated Value Members

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

    alias for option if

    alias for option if

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromSketch to DrxAny[Sketch]

Inherited by implicit conversion any2stringadd fromSketch to any2stringadd[Sketch]

Inherited by implicit conversion StringFormat fromSketch to StringFormat[Sketch]

Inherited by implicit conversion Ensuring fromSketch to Ensuring[Sketch]

Inherited by implicit conversion ArrowAssoc fromSketch to ArrowAssoc[Sketch]

Ungrouped