01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: /**
18: * @author Igor V. Stolyarov
19: * @version $Revision$
20: */package java.awt.image;
21:
22: import java.awt.Rectangle;
23: import java.util.Vector;
24:
25: public interface RenderedImage {
26:
27: public Object getProperty(String name);
28:
29: public WritableRaster copyData(WritableRaster raster);
30:
31: public Raster getData(Rectangle rect);
32:
33: public Vector<RenderedImage> getSources();
34:
35: public String[] getPropertyNames();
36:
37: public SampleModel getSampleModel();
38:
39: public Raster getTile(int tileX, int tileY);
40:
41: public Raster getData();
42:
43: public ColorModel getColorModel();
44:
45: public int getWidth();
46:
47: public int getTileWidth();
48:
49: public int getTileHeight();
50:
51: public int getTileGridYOffset();
52:
53: public int getTileGridXOffset();
54:
55: public int getNumYTiles();
56:
57: public int getNumXTiles();
58:
59: public int getMinY();
60:
61: public int getMinX();
62:
63: public int getMinTileY();
64:
65: public int getMinTileX();
66:
67: public int getHeight();
68:
69: }
|