Package | Description |
---|---|
com.sun.prism.j2d.paint |
Modifier and Type | Field and Description |
---|---|
(package private) MultipleGradientPaint.ColorSpaceType |
MultipleGradientPaint.colorSpace
The color space in which to perform the gradient interpolation.
|
protected MultipleGradientPaint.ColorSpaceType |
MultipleGradientPaintContext.colorSpace
The ColorSpace in which to perform the interpolation
|
Modifier and Type | Method and Description |
---|---|
MultipleGradientPaint.ColorSpaceType |
MultipleGradientPaint.getColorSpace()
Returns the enumerated type which specifies color space for
interpolation.
|
static MultipleGradientPaint.ColorSpaceType |
MultipleGradientPaint.ColorSpaceType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultipleGradientPaint.ColorSpaceType[] |
MultipleGradientPaint.ColorSpaceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
MultipleGradientPaint(float[] fractions,
java.awt.Color[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
java.awt.geom.AffineTransform gradientTransform)
Package-private constructor.
|
MultipleGradientPaintContext(MultipleGradientPaint mgp,
java.awt.image.ColorModel cm,
java.awt.Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform t,
java.awt.RenderingHints hints,
float[] fractions,
java.awt.Color[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace)
Constructor for MultipleGradientPaintContext superclass.
|
RadialGradientPaint(java.awt.geom.Point2D center,
float radius,
java.awt.geom.Point2D focus,
float[] fractions,
java.awt.Color[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
java.awt.geom.AffineTransform gradientTransform)
Constructs a
RadialGradientPaint . |
RadialGradientPaintContext(RadialGradientPaint paint,
java.awt.image.ColorModel cm,
java.awt.Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform t,
java.awt.RenderingHints hints,
float cx,
float cy,
float r,
float fx,
float fy,
float[] fractions,
java.awt.Color[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace)
Constructor for RadialGradientPaintContext.
|