LinearGradient

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(startX: Double, startY: Double, endX: Double, endY: Double, proportional: Boolean, cycleMethod: CycleMethod, stops: List[Stop]): LinearGradient

Creates a new instance of LinearGradient.

Creates a new instance of LinearGradient.

Value Params
cycleMethod

cycle method applied to the gradient

endX

the X coordinate of the gradient axis end point

endY

the Y coordinate of the gradient axis end point

proportional

whether the coordinates are proportional to the shape which this gradient fills

startX

the X coordinate of the gradient axis start point

startY

the Y coordinate of the gradient axis start point

stops

the gradient's color specification

def apply(startX: Double, startY: Double, endX: Double, endY: Double, proportional: Boolean, cycleMethod: CycleMethod, stops: Stop*): LinearGradient

Creates a new instance of LinearGradient.

Creates a new instance of LinearGradient.

Value Params
cycleMethod

cycle method applied to the gradient

endX

the X coordinate of the gradient axis end point

endY

the Y coordinate of the gradient axis end point

proportional

whether the coordinates are proportional to the shape which this gradient fills

startX

the X coordinate of the gradient axis start point

startY

the Y coordinate of the gradient axis start point

stops

the gradient's color specification

def valueOf(value: String): LinearGradient

Creates a linear gradient value from a string representation.

Creates a linear gradient value from a string representation.

Implicits

Implicits

implicit def sfxLinearGradient2jfx(lg: LinearGradient): LinearGradient