亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? color.java

?? Hecl編程語言是一個高層次的腳本語言的Java實現。其用意是要小
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * Copyright (C) 2005, 2006 data2c GmbH (www.data2c.com) * * Author: Wolfgang S. Kechel - wolfgang.kechel@data2c.com * * J2ME version of java.awt.Color.  *///#ifndef j2sepackage org.awt;/** * The <code>Color</code> class is used encapsulate colors in the default * sRGB color space or colors in arbitrary color spaces identified by a * {@link ColorSpace}.  Every color has an implicit alpha value of 1.0 or * an explicit one provided in the constructor.  The alpha value * defines the transparency of a color and can be represented by * a float value in the range 0.0&nbsp;-&nbsp;1.0 or 0&nbsp;-&nbsp;255. * An alpha value of 1.0 or 255 means that the color is completely * opaque and an alpha value of 0 or 0.0 means that the color is  * completely transparent. * When constructing a <code>Color</code> with an explicit alpha or * getting the color/alpha components of a <code>Color</code>, the color * components are never premultiplied by the alpha component. * <p> * The default color space for the Java 2D(tm) API is sRGB, a proposed * standard RGB color space.  For further information on sRGB, * see <A href="http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html"> * http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html * </A>. * <p> */public class Color implements Transparency /*Paint, java.io.Serializable*/ {        /**     * The color white.  In the default sRGB space.     */    public final static Color white = new Color(255, 255, 255);    public final static Color WHITE = white;    /**     * The color light gray.  In the default sRGB space.     */    public final static Color lightGray = new Color(192, 192, 192);    public final static Color LIGHT_GRAY = lightGray;    /**     * The color gray.  In the default sRGB space.     */    public final static Color gray = new Color(128, 128, 128);    public final static Color GRAY = gray;    /**     * The color dark gray.  In the default sRGB space.     */    public final static Color darkGray = new Color(64, 64, 64);    public final static Color DARK_GRAY = darkGray;    /**     * The color black.  In the default sRGB space.     */    public final static Color black = new Color(0, 0, 0);    public final static Color BLACK = black;        /**     * The color red.  In the default sRGB space.     */    public final static Color red = new Color(255, 0, 0);    public final static Color RED = red;    /**     * The color pink.  In the default sRGB space.     */    public final static Color pink = new Color(255, 175, 175);    public final static Color PINK = pink;    /**     * The color orange.  In the default sRGB space.     */    public final static Color orange = new Color(255, 200, 0);    public final static Color ORANGE = orange;    /**     * The color yellow.  In the default sRGB space.     */    public final static Color yellow = new Color(255, 255, 0);    public final static Color YELLOW = yellow;    /**     * The color green.  In the default sRGB space.     */    public final static Color green = new Color(0, 255, 0);    public final static Color GREEN = green;    /**     * The color magenta.  In the default sRGB space.     */    public final static Color magenta = new Color(255, 0, 255);    public final static Color MAGENTA = magenta;    /**     * The color cyan.  In the default sRGB space.     */    public final static Color cyan = new Color(0, 255, 255);    public final static Color CYAN = cyan;    /**     * The color blue.  In the default sRGB space.     */    public final static Color blue = new Color(0, 0, 255);    public final static Color BLUE = blue;    /**     * The color value.     * @serial     * @see #getRGB     */    int value;    /**     * Checks the color integer components supplied for validity.     * Throws an {@link IllegalArgumentException} if the value is out of     * range.     * @param r the Red component     * @param g the Green component     * @param b the Blue component     **/    private static void testColorValueRange(int r, int g, int b, int a) {        boolean rangeError = false;	String badComponentString = "";		if ( a < 0 || a > 255) {	    rangeError = true;	    badComponentString = badComponentString + " Alpha";	}        if ( r < 0 || r > 255) {	    rangeError = true;	    badComponentString = badComponentString + " Red";	}	if ( g < 0 || g > 255) {	    rangeError = true;	    badComponentString = badComponentString + " Green";	}	if ( b < 0 || b > 255) {	    rangeError = true;	    badComponentString = badComponentString + " Blue";	}	if ( rangeError == true ) {	throw new IllegalArgumentException("Color parameter outside of expected range:"					   + badComponentString);	}    }    /**     * Creates an opaque sRGB color with the specified red, green,      * and blue values in the range (0 - 255).       * The actual color used in rendering depends     * on finding the best match given the color space      * available for a given output device.       * Alpha is defaulted to 255.     * @param r the red component     * @param g the green component     * @param b the blue component     * @see #getRed     * @see #getGreen     * @see #getBlue     * @see #getRGB     */    public Color(int r, int g, int b) {        this(r, g, b, 255);    }    /**     * Creates an sRGB color with the specified red, green, blue, and alpha     * values in the range (0 - 255).     * @param r the red component     * @param g the green component     * @param b the blue component     * @param a the alpha component     * @see #getRed     * @see #getGreen     * @see #getBlue     * @see #getAlpha     * @see #getRGB     */    public Color(int r, int g, int b, int a) {        value = ((a & 0xFF) << 24) |                ((r & 0xFF) << 16) |                ((g & 0xFF) << 8)  |                ((b & 0xFF) << 0);	testColorValueRange(r,g,b,a);    }    /**     * Creates an opaque sRGB color with the specified combined RGB value     * consisting of the red component in bits 16-23, the green component     * in bits 8-15, and the blue component in bits 0-7.  The actual color     * used in rendering depends on finding the best match given the     * color space available for a particular output device.  Alpha is     * defaulted to 255.     * @param rgb the combined RGB components     * @see java.awt.image.ColorModel#getRGBdefault     * @see #getRed     * @see #getGreen     * @see #getBlue     * @see #getRGB     */    public Color(int rgb) {        value = 0xff000000 | rgb;    }    /**     * Creates an sRGB color with the specified combined RGBA value consisting     * of the alpha component in bits 24-31, the red component in bits 16-23,     * the green component in bits 8-15, and the blue component in bits 0-7.     * If the <code>hasalpha</code> argument is <code>false</code>, alpha     * is defaulted to 255.     * @param rgba the combined RGBA components     * @param hasalpha <code>true</code> if the alpha bits are valid;     * <code>false</code> otherwise     * @see java.awt.image.ColorModel#getRGBdefault     * @see #getRed     * @see #getGreen     * @see #getBlue     * @see #getAlpha     * @see #getRGB     */    public Color(int rgba, boolean hasalpha) {        if (hasalpha) {            value = rgba;        } else {            value = 0xff000000 | rgba;        }    }    /**     * Returns the red component in the range 0-255 in the default sRGB     * space.     * @return the red component.     * @see #getRGB     */    public int getRed() {	return (getRGB() >> 16) & 0xFF;    }    /**     * Returns the green component in the range 0-255 in the default sRGB     * space.     * @return the green component.     * @see #getRGB     */    public int getGreen() {	return (getRGB() >> 8) & 0xFF;    }    /**     * Returns the blue component in the range 0-255 in the default sRGB     * space.     * @return the blue component.     * @see #getRGB     */    public int getBlue() {	return (getRGB() >> 0) & 0xFF;    }    /**     * Returns the alpha component in the range 0-255.     * @return the alpha component.     * @see #getRGB     */    public int getAlpha() {        return (getRGB() >> 24) & 0xff;    }    /**     * Returns the RGB value representing the color in the default sRGB     * {@link ColorModel}.     * (Bits 24-31 are alpha, 16-23 are red, 8-15 are green, 0-7 are     * blue).     * @return the RGB value of the color in the default sRGB     *         <code>ColorModel</code>.     * @see java.awt.image.ColorModel#getRGBdefault     * @see #getRed     * @see #getGreen     * @see #getBlue     * @since JDK1.0     */    public int getRGB() {	return value;    }    private static final double FACTOR = 0.7;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品亚洲欧美一区| 亚洲综合色婷婷| 国产乱码字幕精品高清av| 精品福利一区二区三区| 国产一区二区电影| 国产精品污网站| 91一区二区三区在线观看| 亚洲综合成人在线视频| 欧美日韩国产首页| 国产做a爰片久久毛片| 中文字幕不卡在线播放| 欧美在线免费观看视频| 日本va欧美va瓶| 日本一区二区高清| 色乱码一区二区三区88| 日韩中文字幕一区二区三区| 337p粉嫩大胆噜噜噜噜噜91av| 国产不卡在线一区| 亚洲gay无套男同| 国产日产精品1区| 欧美伊人久久久久久午夜久久久久| 日本中文一区二区三区| 欧美国产成人精品| 欧美日本一区二区| 成人小视频免费在线观看| 午夜a成v人精品| 国产精品嫩草影院com| 欧美色网一区二区| 国产精品亚洲一区二区三区妖精| 亚洲麻豆国产自偷在线| 日韩欧美中文字幕制服| 色哦色哦哦色天天综合| 久久福利视频一区二区| 亚洲激情成人在线| 久久久精品日韩欧美| 欧美日韩国产一级片| 成人av网址在线| 狠狠色丁香婷婷综合久久片| 亚洲欧美韩国综合色| 久久香蕉国产线看观看99| 精品婷婷伊人一区三区三| 成人中文字幕电影| 久久99精品久久久| 亚洲午夜一二三区视频| 中文子幕无线码一区tr| 337p粉嫩大胆噜噜噜噜噜91av| 在线看不卡av| 91女人视频在线观看| 精品在线免费视频| 日本va欧美va精品| 亚洲伊人伊色伊影伊综合网| 国产精品国产自产拍高清av| 亚洲精品一区二区在线观看| 8x福利精品第一导航| 色婷婷国产精品综合在线观看| 国产91色综合久久免费分享| 激情亚洲综合在线| 久久精品国产精品青草| 日本vs亚洲vs韩国一区三区二区 | 日韩免费视频一区| 欧美日韩在线播放三区四区| 色婷婷国产精品| 92精品国产成人观看免费| 国产乱色国产精品免费视频| 黑人巨大精品欧美一区| 麻豆精品国产91久久久久久| 性做久久久久久免费观看欧美| 亚洲激情在线激情| 亚洲视频狠狠干| 亚洲色图制服丝袜| 亚洲色图在线视频| 亚洲精品少妇30p| 亚洲欧美日韩在线不卡| 亚洲人成网站在线| 亚洲激情成人在线| 亚洲成人高清在线| 亚洲va韩国va欧美va| 日日夜夜精品免费视频| 午夜影视日本亚洲欧洲精品| 亚洲高清视频中文字幕| 午夜精品久久久久久| 日韩不卡手机在线v区| 美女视频免费一区| 国产尤物一区二区| 成人黄页在线观看| 色噜噜狠狠一区二区三区果冻| 欧美视频第二页| 欧美一区二区三区播放老司机| 欧美大胆人体bbbb| 国产色产综合产在线视频| 最新成人av在线| 亚洲成人精品影院| 国产自产2019最新不卡| 国产成人精品影院| 在线免费精品视频| 日韩一区二区视频在线观看| 久久久久久久久久久久久女国产乱| 欧美国产日韩a欧美在线观看| 亚洲女性喷水在线观看一区| 亚洲r级在线视频| 国产福利精品一区| 91久久精品一区二区二区| 欧美日本一区二区在线观看| 久久久亚洲欧洲日产国码αv| 亚洲天堂av老司机| 免费欧美高清视频| 东方aⅴ免费观看久久av| 欧美自拍偷拍一区| 久久综合色婷婷| 亚洲另类春色校园小说| 久久精品国产网站| 91麻豆免费观看| 精品久久久久久最新网址| 最新日韩在线视频| 免费人成在线不卡| 91在线精品一区二区| 91精品久久久久久久91蜜桃| 国产色一区二区| 日产国产高清一区二区三区| www.av亚洲| 日韩午夜小视频| 亚洲精品成人天堂一二三| 激情av综合网| 欧美视频一区二区三区四区| 久久精品夜色噜噜亚洲a∨| 亚洲国产一区二区a毛片| 国产黄色91视频| 欧美精品九九99久久| 国产精品久久久久久亚洲伦 | 成人免费在线播放视频| 麻豆精品一区二区av白丝在线| 99国产精品一区| 久久久久久99久久久精品网站| 亚洲国产综合视频在线观看| 成人午夜伦理影院| 欧美mv日韩mv国产网站app| 亚洲一区二区三区小说| 成人精品免费网站| wwww国产精品欧美| 日韩不卡一区二区三区| 在线观看视频一区| 中文字幕一区二区三区不卡| 九九精品一区二区| 777精品伊人久久久久大香线蕉| 国产精品高潮呻吟| 国产69精品久久99不卡| 精品99一区二区| 秋霞国产午夜精品免费视频| 欧美人牲a欧美精品| 亚洲自拍偷拍欧美| 色婷婷综合久色| 中文字幕中文字幕一区二区| 国产精品一区专区| 久久久久久9999| 国产精品白丝av| 国产片一区二区三区| 激情综合网av| 欧美精品一区视频| 国产自产视频一区二区三区| 日韩欧美在线网站| 美女脱光内衣内裤视频久久网站| 在线成人av网站| 日本不卡在线视频| 91精品国产美女浴室洗澡无遮挡| 香蕉加勒比综合久久| 欧美巨大另类极品videosbest | 国产女人18毛片水真多成人如厕 | 亚洲欧美日韩国产中文在线| www..com久久爱| 亚洲视频图片小说| 一本到高清视频免费精品| 亚洲精品欧美二区三区中文字幕| 色婷婷久久久久swag精品| 一区二区三区日本| 7777精品伊人久久久大香线蕉完整版 | 亚洲国产精品二十页| 成人动漫视频在线| 亚洲精品国产一区二区三区四区在线| 91蜜桃在线观看| 亚洲高清免费视频| 精品日韩一区二区三区免费视频| 久久精品国产一区二区三区免费看 | 国产精品伊人色| 国产精品久久久久久久久动漫| 97久久精品人人做人人爽50路| 亚洲午夜一二三区视频| 日韩一区二区影院| 成人小视频免费在线观看| 亚洲精品免费在线观看| 欧美一区二区三区在线视频| 韩国三级电影一区二区| 亚洲欧洲国产日韩| 欧美理论片在线| 国产一区二区三区久久悠悠色av | 欧美日韩亚洲综合一区二区三区| 青草国产精品久久久久久| 国产性色一区二区| 在线观看日韩一区| 精品一区二区综合| 亚洲免费在线观看视频|