01: /*
02: * Copyright (C) 2005, 2006 data2c GmbH (www.data2c.com)
03: *
04: * Author: Wolfgang S. Kechel - wolfgang.kechel@data2c.com
05: *
06: * J2ME version of java.awt.geom.Rectangle2D.
07: */
08:
09: //#ifndef j2se
10: package org.awt;
11:
12: /**
13: * The <code>Transparency</code> interface defines the common transparency
14: * modes for implementing classes.
15: * @version 1.19, 01/23/03
16: */
17: public interface Transparency {
18:
19: /**
20: * Represents image data that is guaranteed to be completely opaque,
21: * meaning that all pixels have an alpha value of 1.0.
22: */
23: public final static int OPAQUE = 1;
24:
25: /**
26: * Represents image data that is guaranteed to be either completely
27: * opaque, with an alpha value of 1.0, or completely transparent,
28: * with an alpha value of 0.0.
29: */
30: public final static int BITMASK = 2;
31:
32: /**
33: * Represents image data that contains or might contain arbitrary
34: * alpha values between and including 0.0 and 1.0.
35: */
36: public final static int TRANSLUCENT = 3;
37:
38: /**
39: * Returns the type of this <code>Transparency</code>.
40: * @return the field type of this <code>Transparency</code>, which is
41: * either OPAQUE, BITMASK or TRANSLUCENT.
42: */
43: public int getTransparency();
44: }
45: //#endif
|