Gradient

doodle.core.Gradient$
See theGradient companion trait
object Gradient

Attributes

Companion:
trait
Source:
Gradient.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

Attributes

Companion:
trait
Source:
Gradient.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait CycleMethod extends Product with Serializable

Attributes

Companion:
object
Source:
Gradient.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object NoCycle.type
object Reflect.type
object Repeat.type
final case class Linear(start: Point, end: Point, stops: Seq[(Color, Double)], cycleMethod: CycleMethod) extends Gradient

Attributes

Source:
Gradient.scala
Graph
Supertypes
trait Gradient
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Radial(outer: Point, inner: Point, radius: Double, stops: Seq[(Color, Double)], cycleMethod: CycleMethod) extends Gradient

Attributes

Source:
Gradient.scala
Graph
Supertypes
trait Gradient
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def dichromaticHorizontal(color1: Color, color2: Color, length: Double): Linear

Attributes

Source:
Gradient.scala
def dichromaticRadial(color1: Color, color2: Color, radius: Double): Radial

Attributes

Source:
Gradient.scala
def dichromaticVertical(color1: Color, color2: Color, length: Double): Linear

Attributes

Source:
Gradient.scala
def linear(start: Point, end: Point, stops: Seq[(Color, Double)], cycleMethod: CycleMethod): Gradient

Attributes

Source:
Gradient.scala
def radial(outer: Point, inner: Point, radius: Double, stops: Seq[(Color, Double)], cycleMethod: CycleMethod): Gradient

Attributes

Source:
Gradient.scala