transparency.java

来自「Hecl编程语言是一个高层次的脚本语言的Java实现。其用意是要小」· Java 代码 · 共 46 行

JAVA
46
字号
/* * Copyright (C) 2005, 2006 data2c GmbH (www.data2c.com) * * Author: Wolfgang S. Kechel - wolfgang.kechel@data2c.com *  * J2ME version of java.awt.geom.Rectangle2D. *///#ifndef j2sepackage org.awt;/** * The <code>Transparency</code> interface defines the common transparency * modes for implementing classes. * @version 1.19, 01/23/03 */public interface Transparency {    /**     * Represents image data that is guaranteed to be completely opaque,     * meaning that all pixels have an alpha value of 1.0.     */    public final static int OPAQUE            = 1;    /**     * Represents image data that is guaranteed to be either completely     * opaque, with an alpha value of 1.0, or completely transparent,     * with an alpha value of 0.0.     */    public final static int BITMASK = 2;    /**     * Represents image data that contains or might contain arbitrary     * alpha values between and including 0.0 and 1.0.     */    public final static int TRANSLUCENT        = 3;    /**     * Returns the type of this <code>Transparency</code>.     * @return the field type of this <code>Transparency</code>, which is     *		either OPAQUE, BITMASK or TRANSLUCENT.      */    public int getTransparency();}//#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?