Spec-Zone .ru
спецификации, руководства, описания, API
|
@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public final class LinearGradientBuilder extends java.lang.Object implements Builder<LinearGradient>
LinearGradient
Modifier | Constructor and Description |
---|---|
protected |
LinearGradientBuilder() |
Modifier and Type | Method and Description |
---|---|
LinearGradient |
build()
Make an instance of
LinearGradient based on the properties set on this builder. |
static LinearGradientBuilder |
create()
Creates a new instance of LinearGradientBuilder.
|
LinearGradientBuilder |
cycleMethod(CycleMethod x)
Set the value of the
cycleMethod property for the instance constructed by this builder. |
LinearGradientBuilder |
endX(double x)
Set the value of the
endX property for the instance constructed by this builder. |
LinearGradientBuilder |
endY(double x)
Set the value of the
endY property for the instance constructed by this builder. |
LinearGradientBuilder |
proportional(boolean x)
Set the value of the
proportional property for the instance constructed by this builder. |
LinearGradientBuilder |
startX(double x)
Set the value of the
startX property for the instance constructed by this builder. |
LinearGradientBuilder |
startY(double x)
Set the value of the
startY property for the instance constructed by this builder. |
LinearGradientBuilder |
stops(java.util.List<Stop> x)
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
LinearGradientBuilder |
stops(Stop... x)
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
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>
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to