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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? drawingattributes.java

?? openmap java寫的開源數(shù)字地圖程序. 用applet實(shí)現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
        clone.fillPaint = fillPaint;        clone.mattingPaint = mattingPaint;        clone.fillPattern = fillPattern;        clone.setStroke(stroke);        clone.baseScale = baseScale;        clone.matted = matted;    }    public boolean equals(DrawingAttributes da) {        return (da.linePaint == linePaint &&        //              da.textPaint == textPaint &&                da.selectPaint == selectPaint && da.fillPaint == fillPaint                && da.mattingPaint == mattingPaint                && da.fillPattern == fillPattern && da.stroke == stroke                && da.baseScale == baseScale && da.matted == matted);    }    /**     * If you want to get a DEFAULT DrawingAttributes object that you     * may modify, get your own copy.     */    public static DrawingAttributes getDefaultClone() {        return (DrawingAttributes) DEFAULT.clone();    }    /**     * Call setProperties without a prefix for the properties.     *      * @param props the Properties to look in.     * @deprecated use setProperties(props).     */    public void init(Properties props) {        setProperties(null, props);    }    /**     * Look at the Properties, and fill in the drawing attributes     * based in it's contents. If a property is not in the properties,     * it's set to its default setting.     *      * @param prefix the prefix marker to use for a property, like     *        prefix.propertyName. The period is added in this     *        function.     * @param props the Properties to look in.     * @deprecated use setProperties(prefix, props).     */    public void init(String prefix, Properties props) {        setProperties(prefix, props);    }    /**     * Set the Stroke to use for the edge of a graphic.     */    public void setStroke(Stroke stroke) {        Stroke oldStroke = this.stroke;        this.stroke = stroke;        // We don't want to call getBasicStrokeEditor, that creates        // the editor if it doesn't exist, which may be problematic        // for cases where there is no Graphics Display.        if (stroke instanceof BasicStroke && bse != null) {            bse.setBasicStroke((BasicStroke) stroke);            // This requires that the JRE has a display, which may be            // unnecessary in some situations where the editor is            // never used.            //            BasicStrokeEditorMenu tmpbse = getBasicStrokeEditor();            //            if (tmpbse != null) {            //                tmpbse.setBasicStroke((BasicStroke) stroke);            //            }        }        if (propertyChangeSupport != null) {            propertyChangeSupport.firePropertyChange("stroke",                    oldStroke,                    stroke);        }    }    /**     * Get the Stroke used for the lines of a graphic.     */    public Stroke getStroke() {        return stroke;    }    /**     * Get the Stroke object, scaled for comparison to the base scale.     * If the base scale equals NONE, it's the same as getStroke().     *      * @param scale scale to compare to the base scale.     */    public Stroke getStrokeForScale(float scale) {        if (baseScale != NONE && stroke instanceof BasicStroke) {            BasicStroke bs = (BasicStroke) stroke;            float lineWidth = bs.getLineWidth();            float[] dash = bs.getDashArray();            float scaleFactor = scale / baseScale;            int endCaps = bs.getEndCap();            int lineJoins = bs.getLineJoin();            float miterLimit = bs.getMiterLimit();            lineWidth *= scaleFactor;            for (int i = 0; i < dash.length; i++) {                dash[i] *= scaleFactor;            }            return new BasicStroke(lineWidth, endCaps, lineJoins, miterLimit, dash, bs.getDashPhase());        }        return stroke;    }    /**     * Get the Paint for these attributes, and scale it for the scale     * compaired to the base scale set if the fill Paint is a     * TexturePattern. If the base scale equals NONE, or if the Paint     * is not a TexturePaint, it's the same as getFillPaint().     *      * @param scale scale to compare to the base scale.     * @return a Paint object to use for the fill, scaled if     *         necessary.     */    public Paint getFillPaintForScale(float scale) {        if (fillPattern != null) {            if (baseScale != NONE) {                BufferedImage bi = fillPattern.getImage();                float scaleFactor = scale / baseScale;                Image image = bi.getScaledInstance((int) (bi.getWidth() * scaleFactor),                        (int) (bi.getHeight() * scaleFactor),                        Image.SCALE_SMOOTH);                try {                    bi = BufferedImageHelper.getBufferedImage(image,                            0,                            0,                            -1,                            -1);                    return new TexturePaint(bi, new Rectangle(0, 0, bi.getWidth(), bi.getHeight()));                } catch (InterruptedException ie) {                    Debug.error("DrawingAttributes: Interrupted Exception scaling texture paint");                }            }            return fillPattern;        } else {            return fillPaint;        }    }    /**     * Set the edge paint for the graphics created for the coverage     * type.     *      * @param lPaint the paint.     */    public void setLinePaint(Paint lPaint) {        if (lPaint == linePaint)            return;        Paint oldPaint = linePaint;        linePaint = lPaint;        if (lineColorButton != null) {            lineColorButton.setIcon(getIconForPaint(linePaint, false));        }        if (mattedCheckBox != null) {            mattedCheckBox.setIcon(getMattedIcon());        }        propertyChangeSupport.firePropertyChange("linePaint",                oldPaint,                linePaint);    }    /**     * Get the line paint for the graphics created for the coverage     * type.     *      * @return the line paint to use for the edges.     */    public Paint getLinePaint() {        return linePaint;    }    /**     * Set the selected edge paint for the graphics created for the     * coverage type.     *      * @param sPaint the paint.     */    public void setSelectPaint(Paint sPaint) {        if (sPaint == selectPaint)            return;        Paint oldPaint = selectPaint;        selectPaint = sPaint;        if (selectColorButton != null) {            selectColorButton.setIcon(getIconForPaint(selectPaint, false));        }        propertyChangeSupport.firePropertyChange("selectPaint",                oldPaint,                selectPaint);    }    /**     * Get the line paint for the graphics created for the coverage     * type.     *      * @return the select line paint to use for the edges.     */    public Paint getSelectPaint() {        return selectPaint;    }    /**     * Set the fill paint for the graphics created for the coverage     * type.     *      * @param fPaint the paint.     */    public void setFillPaint(Paint fPaint) {        if (fPaint == fillPaint)            return;        Paint oldPaint = fillPaint;        fillPaint = fPaint;        if (fillColorButton != null) {            fillColorButton.setIcon(getIconForPaint(fillPaint, true));        }        propertyChangeSupport.firePropertyChange("fillPaint",                oldPaint,                fillPaint);    }    /**     * Get the fill paint for the graphics created for the coverage     * type. This used to return the fillPattern if it was defined.     * Now, it always returns the fillPaint.     *      * @return the fill paint to use for the areas.     */    public Paint getFillPaint() {        return fillPaint;    }    /**     * Set the matting paint for the graphics created for the coverage     * type. The matting paint is the paint used for the matting line     * painted around the edge, two pixels wider than the edge line     * width. Black by default, only painted when the matting variable     * is set to true.     *      * @param mPaint the paint.     */    public void setMattingPaint(Paint mPaint) {        if (mPaint == mattingPaint)            return;        Paint oldPaint = mattingPaint;        mattingPaint = mPaint;        if (mattingColorButton != null) {            mattingColorButton.setIcon(getMattingIconForPaint());        }        if (mattedCheckBox != null) {            mattedCheckBox.setIcon(getMattedIcon());        }        propertyChangeSupport.firePropertyChange("mattingPaint",                oldPaint,                mattingPaint);    }    /**     * Get the matting paint for the OMGraphics     *      * @return the matting paint to use for the areas.     */    public Paint getMattingPaint() {        return mattingPaint;    }    /**     * Set the fill pattern TexturePaint to be used as the fill color.     * If not null, the fillPattern will be returned from     * getFillPaint() instead of fillPaint.     *      * @param fPattern the TexturePaint to set.     */    public void setFillPattern(TexturePaint fPattern) {        Paint oldPattern = fPattern;        fillPattern = fPattern;        if (fillColorButton != null) {            // GUI doesn't handle fill patterns yet.        }        propertyChangeSupport.firePropertyChange("fillPattern",                oldPattern,                fillPattern);    }    /**     * Get the TexturePaint set as the fill pattern.     *      * @return TexturePaint.     */    public TexturePaint getFillPattern() {        return fillPattern;    }    /**     * Set the base scale to use for the texture paint and stroke. If     * this is set to a negative number, then no scaling of the paint     * or stroke will be performed.     *      * @param bScale the base scale to use - 1:bScale.     */    public void setBaseScale(float bScale) {        if (bScale > 0) {            baseScale = bScale;        } else {            baseScale = NONE;        }    }    /**     * Get the base scale that the texture paint and dashes are set     * for. If the texture paint and stroke are asked for with a     * scale, those values will be adjusted accordingly.     *      * @return base scale for paint and stroke.     */    public float getBaseScale() {        return baseScale;    }    /**     * Return whether the OMGraphic has matting around the edge.     */    public boolean isMatted() {        return matted;    }    /**     * Set whether the OMGraphic should have matting around the edge.     */    public void setMatted(boolean set) {        boolean oldMatted = matted;        matted = set;        if (mattedCheckBox != null) {            mattedCheckBox.setSelected(matted);        }        propertyChangeSupport.firePropertyChange("matted", oldMatted, matted);    }

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
樱桃视频在线观看一区| 成人精品国产福利| 蜜臀av一区二区在线免费观看 | 亚洲成人你懂的| 亚洲一区二区五区| 一区二区高清视频在线观看| 亚洲男人的天堂网| 亚洲欧美一区二区三区极速播放| 国产精品嫩草影院com| 国产精品欧美经典| 亚洲素人一区二区| 亚洲一区二区三区美女| 丝袜亚洲另类欧美| 久久超级碰视频| 国产精品系列在线播放| 成人污污视频在线观看| 91精品国产美女浴室洗澡无遮挡| 欧美精品v日韩精品v韩国精品v| 在线不卡欧美精品一区二区三区| 欧美精品三级在线观看| 日韩视频中午一区| 国产网站一区二区| 中文字幕在线免费不卡| 亚洲一区二区三区中文字幕| 亚洲电影一级黄| 精品一区二区三区在线观看国产| 国产精品自拍av| av动漫一区二区| 欧美日韩综合不卡| 精品久久久网站| 国产精品嫩草影院av蜜臀| 一区二区三区四区国产精品| 婷婷久久综合九色综合伊人色| 奇米色一区二区三区四区| 韩国成人福利片在线播放| 不卡的电影网站| 欧美日韩精品一区二区三区 | 精品视频123区在线观看| 91精品国产综合久久福利| 久久亚洲综合色| 中文字幕一区二区三区四区不卡| 亚洲福中文字幕伊人影院| 国产乱人伦精品一区二区在线观看| 成人精品视频网站| 欧美男同性恋视频网站| 久久久精品蜜桃| 一区二区免费在线| 国内外成人在线视频| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 精品无人码麻豆乱码1区2区| 成人av手机在线观看| 91精品国产综合久久久久久漫画 | 亚洲精品国产第一综合99久久| 婷婷久久综合九色综合伊人色| 国产在线视频一区二区| 91小视频在线观看| 日韩欧美www| 亚洲精品高清在线| 精品制服美女久久| 欧美午夜精品久久久久久孕妇 | 国产精品日韩成人| 日韩中文字幕区一区有砖一区 | 欧美精品日日鲁夜夜添| 国产精品黄色在线观看| 蜜臀av性久久久久蜜臀aⅴ | 在线视频综合导航| 久久男人中文字幕资源站| 午夜视频在线观看一区二区三区| 懂色av一区二区三区蜜臀| 欧美一卡2卡3卡4卡| 亚洲精品美国一| 成人黄色免费短视频| 久久综合网色—综合色88| 视频一区二区三区中文字幕| 91亚洲大成网污www| 久久久久国产精品人| 捆绑调教美女网站视频一区| 欧美自拍丝袜亚洲| 亚洲精品美腿丝袜| aaa亚洲精品一二三区| 国产亚洲一区二区三区在线观看| 日本aⅴ亚洲精品中文乱码| 在线影视一区二区三区| 日韩美女视频一区二区| 不卡欧美aaaaa| 国产日产亚洲精品系列| 国内成+人亚洲+欧美+综合在线| 欧美电影在哪看比较好| 亚洲bdsm女犯bdsm网站| 在线视频综合导航| 亚洲激情av在线| 色婷婷激情久久| 亚洲六月丁香色婷婷综合久久| 国产成人在线电影| 国产欧美日韩在线| 国产精品亚洲第一区在线暖暖韩国| 日韩午夜av一区| 久久国内精品自在自线400部| 欧美日韩第一区日日骚| 日韩av电影免费观看高清完整版| 欧美日韩国产免费一区二区| 亚洲成人免费在线| 91精品国产综合久久久久久| 五月婷婷久久丁香| 欧美妇女性影城| 美女视频黄频大全不卡视频在线播放| 欧美精品一级二级三级| 麻豆视频一区二区| 亚洲精品一区二区三区福利| 韩国女主播成人在线| 国产无人区一区二区三区| 成人性视频免费网站| 日韩一区欧美小说| 欧美主播一区二区三区| 日韩av午夜在线观看| 欧美成人一级视频| 懂色av一区二区三区蜜臀| 亚洲图片你懂的| 欧美日韩一卡二卡三卡 | 国产一区视频在线看| 国产亚洲精品7777| 91色视频在线| 丝袜诱惑制服诱惑色一区在线观看| 亚洲女厕所小便bbb| 在线视频你懂得一区| 午夜精品视频在线观看| 欧美成人一级视频| 成人h精品动漫一区二区三区| 亚洲视频一区在线观看| 欧美日韩卡一卡二| 经典三级一区二区| 中文久久乱码一区二区| 欧美做爰猛烈大尺度电影无法无天| 午夜亚洲福利老司机| 久久一夜天堂av一区二区三区| 成人午夜在线播放| 亚洲伊人伊色伊影伊综合网| 91精品国产高清一区二区三区蜜臀 | 91精品国产综合久久福利| 国产精品亚洲午夜一区二区三区 | 韩国v欧美v日本v亚洲v| 国产精品不卡一区| 欧美精品在线视频| 岛国av在线一区| 午夜私人影院久久久久| 欧美国产丝袜视频| 欧美在线free| 国产美女精品人人做人人爽| 一区二区三区四区中文字幕| 日韩精品最新网址| 91麻豆自制传媒国产之光| 免费不卡在线观看| 亚洲男人的天堂在线aⅴ视频| 日韩欧美中文字幕公布| 91视视频在线观看入口直接观看www| 香蕉影视欧美成人| 中文字幕不卡的av| 制服丝袜成人动漫| 99久久国产免费看| 麻豆国产欧美日韩综合精品二区 | 国产一区欧美二区| 亚洲一区视频在线| 国产精品伦一区| 日韩一级片在线观看| 91丨九色丨蝌蚪富婆spa| 久久国内精品视频| 亚洲3atv精品一区二区三区| 国产精品色噜噜| 欧美大白屁股肥臀xxxxxx| 色综合久久久久久久久| 国产精品一区二区免费不卡| 五月天欧美精品| 亚洲另类中文字| 国产精品色一区二区三区| 日韩欧美激情在线| 欧美久久久久久蜜桃| 色婷婷久久久亚洲一区二区三区| 国产精品一区二区久激情瑜伽 | 色噜噜狠狠成人中文综合| 国产成人免费在线观看| 精品一区二区三区日韩| 亚洲第一搞黄网站| 一二三区精品福利视频| 国模套图日韩精品一区二区| 五月激情六月综合| 亚洲欧洲制服丝袜| 亚洲视频免费在线观看| 亚洲国产经典视频| 国产清纯白嫩初高生在线观看91 | 欧美理论电影在线| 欧美性猛交xxxx乱大交退制版| 成人黄色在线网站| 国产成人午夜视频| 国产福利一区二区| 国产精品影视在线观看| 国产一区二区三区久久久 | 欧美精品在线一区二区三区| 欧美亚洲另类激情小说| 色欧美日韩亚洲| 色www精品视频在线观看|