Gradient

object Gradient
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

Companion:
class
sealed trait CycleMethod extends Product with Serializable
Companion:
object
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
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

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