| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.MultipleGradientPaint
public abstract class MultipleGradientPaint
This is the superclass for Paints which use a multiple color
 gradient to fill in their raster.  It provides storage for variables and
 enumerated values common to
 LinearGradientPaint and RadialGradientPaint.
| Nested Class Summary | |
|---|---|
| static class | MultipleGradientPaint.ColorSpaceTypeThe color space in which to perform the gradient interpolation. | 
| static class | MultipleGradientPaint.CycleMethodThe method to use when painting outside the gradient bounds. | 
| Field Summary | 
|---|
| Fields inherited from interface java.awt.Transparency | 
|---|
| BITMASK, OPAQUE, TRANSLUCENT | 
| Method Summary | |
|---|---|
|  Color[] | getColors()Returns a copy of the array of colors used by this gradient. | 
|  MultipleGradientPaint.ColorSpaceType | getColorSpace()Returns the enumerated type which specifies color space for interpolation. | 
|  MultipleGradientPaint.CycleMethod | getCycleMethod()Returns the enumerated type which specifies cycling behavior. | 
|  float[] | getFractions()Returns a copy of the array of floats used by this gradient to calculate color distribution. | 
|  AffineTransform | getTransform()Returns a copy of the transform applied to the gradient. | 
|  int | getTransparency()Returns the transparency mode for this Paint object. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface java.awt.Paint | 
|---|
| createContext | 
| Method Detail | 
|---|
public final float[] getFractions()
public final Color[] getColors()
public final MultipleGradientPaint.CycleMethod getCycleMethod()
public final MultipleGradientPaint.ColorSpaceType getColorSpace()
public final AffineTransform getTransform()
public final int getTransparency()
getTransparency in interface TransparencyTransparency| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.