Uses of Enum Class
java.awt.MultipleGradientPaint.CycleMethod
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
-
Uses of MultipleGradientPaint.CycleMethod in java.awt
Modifier and TypeClassDescriptionstatic enum
The method to use when painting outside the gradient bounds.Modifier and TypeMethodDescriptionMultipleGradientPaint.getCycleMethod()
Returns the enumerated type which specifies cycling behavior.Returns the enum constant of this class with the specified name.static MultipleGradientPaint.CycleMethod[]
MultipleGradientPaint.CycleMethod.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionLinearGradientPaint
(float startX, float startY, float endX, float endY, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aLinearGradientPaint
with a defaultSRGB
color space.LinearGradientPaint
(Point2D start, Point2D end, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aLinearGradientPaint
with a defaultSRGB
color space.LinearGradientPaint
(Point2D start, Point2D end, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform) Constructs aLinearGradientPaint
.RadialGradientPaint
(float cx, float cy, float radius, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aRadialGradientPaint
with a defaultSRGB
color space, using the center as the focus point.RadialGradientPaint
(float cx, float cy, float radius, float fx, float fy, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aRadialGradientPaint
with a defaultSRGB
color space.RadialGradientPaint
(Point2D center, float radius, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aRadialGradientPaint
with a defaultSRGB
color space, using the center as the focus point.RadialGradientPaint
(Point2D center, float radius, Point2D focus, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aRadialGradientPaint
with a defaultSRGB
color space.RadialGradientPaint
(Point2D center, float radius, Point2D focus, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform) Constructs aRadialGradientPaint
.RadialGradientPaint
(Rectangle2D gradientBounds, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod) Constructs aRadialGradientPaint
with a defaultSRGB
color space.