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
Gradient.type

Members list

Type members

Classlikes

object CycleMethod

Attributes

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

Attributes

Companion
object
Source
Gradient.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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
Supertypes
trait Gradient
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Radial(outer: Point, inner: Point, radius: Double, stops: Seq[(Color, Double)], cycleMethod: CycleMethod) extends Gradient

Attributes

Source
Gradient.scala
Supertypes
trait Gradient
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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