@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public final class LinearGradientBuilder extends java.lang.Object implements Builder<LinearGradient>
LinearGradient
Modifier and Type | Field and Description |
---|---|
private CycleMethod |
cycleMethod
Deprecated.
|
private double |
endX
Deprecated.
|
private double |
endY
Deprecated.
|
private boolean |
proportional
Deprecated.
|
private double |
startX
Deprecated.
|
private double |
startY
Deprecated.
|
private java.util.List<Stop> |
stops
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
LinearGradientBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LinearGradient |
build()
Deprecated.
Make an instance of
LinearGradient based on the properties set on this builder. |
static LinearGradientBuilder |
create()
Deprecated.
Creates a new instance of LinearGradientBuilder.
|
LinearGradientBuilder |
cycleMethod(CycleMethod x)
Deprecated.
Set the value of the
cycleMethod property for the instance constructed by this builder. |
LinearGradientBuilder |
endX(double x)
Deprecated.
Set the value of the
endX property for the instance constructed by this builder. |
LinearGradientBuilder |
endY(double x)
Deprecated.
Set the value of the
endY property for the instance constructed by this builder. |
LinearGradientBuilder |
proportional(boolean x)
Deprecated.
Set the value of the
proportional property for the instance constructed by this builder. |
LinearGradientBuilder |
startX(double x)
Deprecated.
Set the value of the
startX property for the instance constructed by this builder. |
LinearGradientBuilder |
startY(double x)
Deprecated.
Set the value of the
startY property for the instance constructed by this builder. |
LinearGradientBuilder |
stops(java.util.List<Stop> x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
LinearGradientBuilder |
stops(Stop... x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
private CycleMethod cycleMethod
private double endX
private double endY
private boolean proportional
private double startX
private double startY
private java.util.List<Stop> stops
public static LinearGradientBuilder create()
public LinearGradientBuilder cycleMethod(CycleMethod x)
cycleMethod
property for the instance constructed by this builder.public LinearGradientBuilder endX(double x)
endX
property for the instance constructed by this builder.public LinearGradientBuilder endY(double x)
endY
property for the instance constructed by this builder.public LinearGradientBuilder proportional(boolean x)
proportional
property for the instance constructed by this builder.public LinearGradientBuilder startX(double x)
startX
property for the instance constructed by this builder.public LinearGradientBuilder startY(double x)
startY
property for the instance constructed by this builder.public LinearGradientBuilder stops(java.util.List<Stop> x)
stops
property for the instance constructed by this builder.public LinearGradientBuilder stops(Stop... x)
stops
property for the instance constructed by this builder.public LinearGradient build()
LinearGradient
based on the properties set on this builder.build
in interface Builder<LinearGradient>