LinearGradient

scalafx.scene.paint.LinearGradient
See theLinearGradient companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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 parameters

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

Attributes

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 parameters

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

Attributes

Creates a linear gradient value from a string representation.

Creates a linear gradient value from a string representation.

Attributes

Implicits

Implicits

implicit def sfxLinearGradient2jfx(lg: LinearGradient): LinearGradient