public class FillStyle extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CLIPPED_BITMAP |
static int |
CLIPPED_BITMAP_NOT_SMOOTHED |
static int |
FOCAL_GRADIENT |
static int |
INTERPOLATION_MODE_LINEAR_RGB |
static int |
INTERPOLATION_MODE_NORMAL_RGB |
static int |
LINEAR_GRADIENT |
static int |
RADIAL_GRADIENT |
static int |
SOLID |
static int |
SPREAD_MODE_PAD |
static int |
SPREAD_MODE_REFLECT |
static int |
SPREAD_MODE_REPEAT |
static int |
TILED_BITMAP |
static int |
TILED_BITMAP_NOT_SMOOTHED |
Constructor and Description |
---|
FillStyle(Color color) |
FillStyle(Color color,
Color endColor) |
FillStyle(Gradient[] gradient,
boolean linear,
AffineTransform matrix) |
FillStyle(Gradient[] gradient,
boolean linear,
AffineTransform matrix,
AffineTransform endMatrix) |
FillStyle(Gradient[] gradient,
int gradientType,
int spreadMode,
int interpolationMode,
float focalPoint,
AffineTransform matrix) |
FillStyle(int bitmap,
boolean tiled,
AffineTransform matrix) |
FillStyle(int bitmap,
boolean tiled,
AffineTransform matrix,
AffineTransform endMatrix) |
FillStyle(SWFInputStream input,
boolean isMorphStyle,
boolean hasAlpha) |
public static final int SOLID
public static final int LINEAR_GRADIENT
public static final int RADIAL_GRADIENT
public static final int FOCAL_GRADIENT
public static final int TILED_BITMAP
public static final int CLIPPED_BITMAP
public static final int TILED_BITMAP_NOT_SMOOTHED
public static final int CLIPPED_BITMAP_NOT_SMOOTHED
public static final int SPREAD_MODE_PAD
public static final int SPREAD_MODE_REFLECT
public static final int SPREAD_MODE_REPEAT
public static final int INTERPOLATION_MODE_NORMAL_RGB
public static final int INTERPOLATION_MODE_LINEAR_RGB
public FillStyle(Color color)
public FillStyle(Gradient[] gradient, boolean linear, AffineTransform matrix)
public FillStyle(Gradient[] gradient, int gradientType, int spreadMode, int interpolationMode, float focalPoint, AffineTransform matrix)
public FillStyle(Gradient[] gradient, boolean linear, AffineTransform matrix, AffineTransform endMatrix)
public FillStyle(int bitmap, boolean tiled, AffineTransform matrix)
public FillStyle(int bitmap, boolean tiled, AffineTransform matrix, AffineTransform endMatrix)
public FillStyle(SWFInputStream input, boolean isMorphStyle, boolean hasAlpha) throws IOException
IOException
public int getType()
public void write(SWFOutputStream swf, boolean isMorphStyle, boolean hasAlpha) throws IOException
IOException
Copyright © 2014. All rights reserved.