@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public final class RadialGradientBuilder extends java.lang.Object implements Builder<RadialGradient>
RadialGradient| Modifier | Constructor and Description |
|---|---|
protected |
RadialGradientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
RadialGradient |
build()
Make an instance of
RadialGradient based on the properties set on this builder. |
RadialGradientBuilder |
centerX(double x)
Set the value of the
centerX property for the instance constructed by this builder. |
RadialGradientBuilder |
centerY(double x)
Set the value of the
centerY property for the instance constructed by this builder. |
static RadialGradientBuilder |
create()
Creates a new instance of RadialGradientBuilder.
|
RadialGradientBuilder |
cycleMethod(CycleMethod x)
Set the value of the
cycleMethod property for the instance constructed by this builder. |
RadialGradientBuilder |
focusAngle(double x)
Set the value of the
focusAngle property for the instance constructed by this builder. |
RadialGradientBuilder |
focusDistance(double x)
Set the value of the
focusDistance property for the instance constructed by this builder. |
RadialGradientBuilder |
proportional(boolean x)
Set the value of the
proportional property for the instance constructed by this builder. |
RadialGradientBuilder |
radius(double x)
Set the value of the
radius property for the instance constructed by this builder. |
RadialGradientBuilder |
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. |
RadialGradientBuilder |
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 RadialGradientBuilder create()
public RadialGradientBuilder centerX(double x)
centerX property for the instance constructed by this builder.public RadialGradientBuilder centerY(double x)
centerY property for the instance constructed by this builder.public RadialGradientBuilder cycleMethod(CycleMethod x)
cycleMethod property for the instance constructed by this builder.public RadialGradientBuilder focusAngle(double x)
focusAngle property for the instance constructed by this builder.public RadialGradientBuilder focusDistance(double x)
focusDistance property for the instance constructed by this builder.public RadialGradientBuilder proportional(boolean x)
proportional property for the instance constructed by this builder.public RadialGradientBuilder radius(double x)
radius property for the instance constructed by this builder.public RadialGradientBuilder stops(java.util.List<Stop> x)
stops property for the instance constructed by this builder.public RadialGradientBuilder stops(Stop... x)
stops property for the instance constructed by this builder.public RadialGradient build()
RadialGradient based on the properties set on this builder.build in interface Builder<RadialGradient>Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.