| Package | Description |
|---|---|
| com.day.image |
The
com.day.image Package contains the main classes of the
Day Graphics Engine. |
| com.day.image.font |
| Modifier and Type | Method and Description |
|---|---|
Layer |
Animation.removeLayer(int idx)
Remove the layer with the given index from the
Animation. |
Layer |
Animation.removeLayer(Layer layer)
Removes the first layer (in chronological order) matching the given
layer from the animation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Animation.addLayer(Layer layer,
int delay)
Add a layer for display during the indicated delay time after which the
image is disposed of using the default disposal method.
|
void |
Animation.addLayer(Layer layer,
int delay,
int disposal)
Add a layer for display during the indicated delay time after which the
image is disposed of using the disposal method.
|
void |
Layer.blit(Layer src,
int dw,
int dh)
Copy a subimage from the given source layer to this layer.
|
void |
Layer.blit(Layer src,
int dx,
int dy,
int dw,
int dh,
int sx,
int sy)
Copy a subimage from the given source layer to this layer.
|
void |
Layer.colorMask(Layer src,
Color col)
Colorizes the identical pixel of the source and destination layer with
the indicated color.
|
void |
Layer.copyChannel(Layer src,
int fromChannel,
int toChannel)
Copy the color or alpha channel from the source the same or another color
or alpha channel in this layer.
|
protected IIOMetadata[] |
ImageSupport.doCreateGIFMetadata(Layer layer,
ImageWriter writer,
int numCol)
Do GIF preprocessing : Reduce colors according to the quality desired and
define metadata structures.
|
protected void |
ImageSupport.doGetGIFMetaData(Layer layer,
ImageReader reader)
Interpret the GIF metadata of a GIF image stream.
|
int |
Font.drawText(Layer layer,
int x,
int y,
int width,
int height,
String text,
Paint paint,
Stroke stroke,
int align,
double cs,
int ls)
Render the given text string in the given font to the
Layer
using the attributes given. |
void |
Layer.emboss(Layer bump,
int azimut,
int elevation,
int filtersize)
Embosses the layer using the bump (if specified) and the light direction
specified by aizmut and elevation.
|
void |
Layer.fillRect(Layer src,
Rectangle2D rect)
Fill the given rectangle with the layer defined as the temporary paint
object.
|
void |
Layer.merge(Layer layer)
Merges a layer onto the current layer whereby obeying the layer's opacity
level.
|
void |
Layer.merge(Layer[] layers)
Merges a number of layers onto the current layer whereby obeying each
layers opacity level.
|
Layer |
Animation.removeLayer(Layer layer)
Removes the first layer (in chronological order) matching the given
layer from the animation.
|
| Constructor and Description |
|---|
Layer(Layer src)
Creates a new
Layer by copying the image of the source
layer and setting all properties to the exact same value they are set in
the source layer. |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
AbstractFont.drawText(Layer layer,
int x,
int y,
int width,
int height,
String text,
Paint paint,
Stroke stroke,
int align,
double cs,
int ls)
Render the given text string in the given font to the
Layer
using the attributes given. |
Copyright © 2011–2018 Adobe Systems Incorporated. All rights reserved.