Gradient

object Gradient
Companion:
class
Source:
Gradient.scala
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

Companion:
class
Source:
Gradient.scala
sealed trait CycleMethod extends Product with Serializable
Companion:
object
Source:
Gradient.scala
final case class Linear(start: Point, end: Point, stops: Seq[(Color, Double)], cycleMethod: CycleMethod) extends Gradient
final case class Radial(outer: Point, inner: Point, radius: Double, stops: Seq[(Color, Double)], cycleMethod: CycleMethod) extends Gradient

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def dichromaticHorizontal(color1: Color, color2: Color, length: Double): Linear
def dichromaticRadial(color1: Color, color2: Color, radius: Double): Radial
def dichromaticVertical(color1: Color, color2: Color, length: Double): Linear
def linear(start: Point, end: Point, stops: Seq[(Color, Double)], cycleMethod: CycleMethod): Gradient
def radial(outer: Point, inner: Point, radius: Double, stops: Seq[(Color, Double)], cycleMethod: CycleMethod): Gradient