case class Star(c: Vec, r: Bound[Double], n: Int = 5, innerAngle: Angle = Angle(0), outerAngleOffset: Angle = Angle(0)) extends Closed with Product with Serializable
- Source
- geom.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Star
- Serializable
- Product
- Equals
- Closed
- Shape
- AnyRef
- Any
Implicitly
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- def applyIf(t: Boolean, f: (Star) => Star): Star
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Star) => Boolean)(f: (Star) => Star): Star
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val c: Vec
- def draw(implicit g: DrawContext): Unit
generic draw method
- def elementOf(xs: Set[Star]): Boolean
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val innerAngle: Angle
- val n: Int
- def noneIf(f: (Star) => Boolean): Option[Star]
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (Star) => Boolean): Option[Star]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val outerAngleOffset: Angle
- def preApply[B](f: (Star) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val r: Bound[Double]
- def sideEffect(f: (Star) => Unit): Star
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Star) => Boolean): Option[Star]
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: Star
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- lazy val vertices: List[Vec]
- 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)
- def ~(property: Property): Styled
initialize shape with a style
initialize shape with a style
- Definition Classes
- Shape
- def ~(style: Style): Styled
Attach a style to a shape
Attach a style to a shape
- Definition Classes
- Shape
Deprecated Value Members
- def ?>(f: (Star) => Boolean): Option[Star]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] 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 |>[B](f: (Star) => B): B
- Implicit
- This member is added by an implicit conversion from Star toDrxAny[Star] 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)