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

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

?? legendgraphic.java

?? 制作圖表的好工具
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* ===========================================================
 * JFreeChart : a free chart library for the Java(tm) platform
 * ===========================================================
 *
 * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 *
 * This library is free software; you can redistribute it and/or modify it 
 * under the terms of the GNU Lesser General Public License as published by 
 * the Free Software Foundation; either version 2.1 of the License, or 
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 
 * License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
 * USA.  
 *
 * [Java is a trademark or registered trademark of Sun Microsystems, Inc. 
 * in the United States and other countries.]
 *
 * ------------------
 * LegendGraphic.java
 * ------------------
 * (C) Copyright 2004, 2005, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: LegendGraphic.java,v 1.9.2.3 2005/11/24 09:57:19 mungady Exp $
 *
 * Changes
 * -------
 * 26-Oct-2004 : Version 1 (DG);
 * 21-Jan-2005 : Modified return type of RectangleAnchor.coordinates() 
 *               method (DG);
 * 20-Apr-2005 : Added new draw() method (DG);
 * 13-May-2005 : Fixed to respect margin, border and padding settings (DG);
 * 01-Sep-2005 : Implemented PublicCloneable (DG);
 * 
 */

package org.jfree.chart.title;

import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

import org.jfree.chart.block.AbstractBlock;
import org.jfree.chart.block.Block;
import org.jfree.chart.block.LengthConstraintType;
import org.jfree.chart.block.RectangleConstraint;
import org.jfree.io.SerialUtilities;
import org.jfree.ui.RectangleAnchor;
import org.jfree.ui.Size2D;
import org.jfree.util.ObjectUtilities;
import org.jfree.util.PaintUtilities;
import org.jfree.util.PublicCloneable;
import org.jfree.util.ShapeUtilities;

/**
 * The graphical item within a legend item.
 */
public class LegendGraphic extends AbstractBlock 
                           implements Block, PublicCloneable {
    
    /** 
     * A flag that controls whether or not the shape is visible - see also 
     * lineVisible. 
     */
    private boolean shapeVisible;
    
    /** 
     * The shape to display.  To allow for accurate positioning, the center
     * of the shape should be at (0, 0). 
     */
    private transient Shape shape;
    
    /**
     * Defines the location within the block to which the shape will be aligned.
     */
    private RectangleAnchor shapeLocation;
    
    /** 
     * Defines the point on the shape's bounding rectangle that will be 
     * aligned to the drawing location when the shape is rendered.
     */
    private RectangleAnchor shapeAnchor;
    
    /** A flag that controls whether or not the shape is filled. */
    private boolean shapeFilled;
    
    /** The fill paint for the shape. */
    private transient Paint fillPaint;
    
    /** A flag that controls whether or not the shape outline is visible. */
    private boolean shapeOutlineVisible;
    
    /** The outline paint for the shape. */
    private transient Paint outlinePaint;
    
    /** The outline stroke for the shape. */
    private transient Stroke outlineStroke;
    
    /** 
     * A flag that controls whether or not the line is visible - see also 
     * shapeVisible. 
     */
    private boolean lineVisible;
    
    /** The line. */
    private transient Shape line;
    
    /** The line stroke. */
    private transient Stroke lineStroke;
    
    /** The line paint. */
    private transient Paint linePaint;
    
    /**
     * Creates a new legend graphic.
     * 
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the fill paint (<code>null</code> not permitted).
     */
    public LegendGraphic(Shape shape, Paint fillPaint) {
        if (shape == null) {
            throw new IllegalArgumentException("Null 'shape' argument.");
        }
        if (fillPaint == null) {
            throw new IllegalArgumentException("Null 'fillPaint' argument.");
        }
        this.shapeVisible = true;
        this.shape = shape;
        this.shapeAnchor = RectangleAnchor.CENTER;
        this.shapeLocation = RectangleAnchor.CENTER;
        this.shapeFilled = true;
        this.fillPaint = fillPaint;
        setPadding(2.0, 2.0, 2.0, 2.0);
    }
    
    /**
     * Returns a flag that controls whether or not the shape
     * is visible.
     * 
     * @return A boolean.
     */
    public boolean isShapeVisible() {
        return this.shapeVisible;
    }
    
    /**
     * Sets a flag that controls whether or not the shape is 
     * visible.
     * 
     * @param visible  the flag.
     */
    public void setShapeVisible(boolean visible) {
        this.shapeVisible = visible;
    }
    
    /**
     * Returns the shape.
     * 
     * @return The shape.
     */
    public Shape getShape() {
        return this.shape;
    }
    
    /**
     * Sets the shape.
     * 
     * @param shape  the shape.
     */
    public void setShape(Shape shape) {
        this.shape = shape;
    }

    /**
     * Returns a flag that controls whether or not the shapes
     * are filled.
     * 
     * @return A boolean.
     */
    public boolean isShapeFilled() {
        return this.shapeFilled;
    }
    
    /**
     * Sets a flag that controls whether or not the shape is
     * filled.
     * 
     * @param filled  the flag.
     */
    public void setShapeFilled(boolean filled) {
        this.shapeFilled = filled;
    }

    /**
     * Returns the paint used to fill the shape.
     * 
     * @return The fill paint.
     */
    public Paint getFillPaint() {
        return this.fillPaint;
    }
    
    /**
     * Sets the paint used to fill the shape.
     * 
     * @param paint  the paint.
     */
    public void setFillPaint(Paint paint) {
        this.fillPaint = paint;
    }
    
    /**
     * Returns a flag that controls whether the shape outline is visible.
     * 
     * @return A boolean.
     */
    public boolean isShapeOutlineVisible() {
        return this.shapeOutlineVisible;
    }
    
    /**
     * Sets a flag that controls whether or not the shape outline
     * is visible.
     * 
     * @param visible  the flag.
     */
    public void setShapeOutlineVisible(boolean visible) {
        this.shapeOutlineVisible = visible;
    }
    
    /**
     * Returns the outline paint.
     * 
     * @return The paint.
     */
    public Paint getOutlinePaint() {
        return this.outlinePaint;
    }
    
    /**
     * Sets the outline paint.
     * 
     * @param paint  the paint.
     */
    public void setOutlinePaint(Paint paint) {
        this.outlinePaint = paint;
    }

    /**
     * Returns the outline stroke.
     * 
     * @return The stroke.
     */
    public Stroke getOutlineStroke() {
        return this.outlineStroke;
    }
    
    /**
     * Sets the outline stroke.
     * 
     * @param stroke  the stroke.
     */
    public void setOutlineStroke(Stroke stroke) {
        this.outlineStroke = stroke;
    }

    /**
     * Returns the shape anchor.
     * 
     * @return The shape anchor.
     */
    public RectangleAnchor getShapeAnchor() {
        return this.shapeAnchor;
    }
    
    /**
     * Sets the shape anchor.  This defines a point on the shapes bounding
     * rectangle that will be used to align the shape to a location.
     * 
     * @param anchor  the anchor (<code>null</code> not permitted).
     */
    public void setShapeAnchor(RectangleAnchor anchor) {
        if (anchor == null) {
            throw new IllegalArgumentException("Null 'anchor' argument.");
        }
        this.shapeAnchor = anchor;    
    }
    
    /**
     * Returns the shape location.
     * 
     * @return The shape location.
     */
    public RectangleAnchor getShapeLocation() {
        return this.shapeLocation;
    }
    
    /**
     * Sets the shape location.  This defines a point within the drawing
     * area that will be used to align the shape to.
     * 
     * @param location  the location (<code>null</code> not permitted).
     */
    public void setShapeLocation(RectangleAnchor location) {
        if (location == null) {
            throw new IllegalArgumentException("Null 'location' argument.");

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色av一区二区| 国产精品卡一卡二卡三| 色综合中文字幕| 国产三区在线成人av| 国产欧美日韩综合精品一区二区| 欧美日本精品一区二区三区| 精品久久五月天| 日韩av一区二区在线影视| 精品一区二区三区av| 欧美一区二区三区不卡| 亚洲精品中文字幕乱码三区| 国产精品一区一区| 2023国产一二三区日本精品2022| 日韩精品一二三区| 成人午夜电影网站| 丰满白嫩尤物一区二区| 久久精品男人天堂av| 亚洲综合自拍偷拍| 1024国产精品| 成人动漫在线一区| 久久精品亚洲一区二区三区浴池| 欧美精品一区二区三| 18涩涩午夜精品.www| 99久久精品国产一区二区三区| 亚洲在线一区二区三区| 日韩欧美成人激情| 成人动漫一区二区三区| 日日夜夜一区二区| 欧美国产精品一区二区| 在线观看一区二区精品视频| 另类小说一区二区三区| 国产精品免费视频一区| 欧美酷刑日本凌虐凌虐| 国产成人无遮挡在线视频| 亚洲人成影院在线观看| 精品福利视频一区二区三区| 94-欧美-setu| 久久av资源网| 亚洲高清三级视频| 中文字幕乱码一区二区免费| 欧美一区二区三区四区视频| av亚洲精华国产精华精| 黄色资源网久久资源365| 亚洲成人综合网站| 亚洲色图视频免费播放| 精品视频免费在线| a美女胸又www黄视频久久| 韩国成人在线视频| 一区二区三区电影在线播| 久久亚洲影视婷婷| 欧美天堂一区二区三区| a4yy欧美一区二区三区| 蜜桃91丨九色丨蝌蚪91桃色| 一区二区三区四区亚洲| 国产无一区二区| 日韩欧美不卡在线观看视频| 欧洲一区在线电影| 成年人网站91| 国产精品亚洲综合一区在线观看| 蜜臀91精品一区二区三区| 亚洲国产美女搞黄色| 亚洲人成亚洲人成在线观看图片| 日本一区二区三区四区| 久久久久久影视| 久久综合久久鬼色中文字| 日韩一区二区在线看片| 欧美性大战xxxxx久久久| 99久久99精品久久久久久 | 3d动漫精品啪啪1区2区免费| 91视频91自| 91蜜桃在线免费视频| 成人sese在线| 99精品桃花视频在线观看| 99在线精品一区二区三区| 成人精品国产福利| va亚洲va日韩不卡在线观看| 成人免费的视频| 成人av网在线| 99久久精品一区二区| 成人av在线电影| 风间由美一区二区av101| 国产一区二区三区免费观看| 久久精品国产秦先生| 久久不见久久见中文字幕免费| 日韩成人一区二区| 久久成人麻豆午夜电影| 国产一区二区91| 成人的网站免费观看| 91一区二区三区在线观看| 日本精品裸体写真集在线观看| 色乱码一区二区三区88| 欧美天天综合网| 日韩一级完整毛片| 欧美精品一区二区三区高清aⅴ | 99国产精品99久久久久久| 99re热视频精品| 欧美日韩国产另类一区| 91精品国产综合久久久久久久久久| 日韩一区二区电影| 久久精品一区八戒影视| 中文字幕亚洲不卡| 婷婷六月综合亚洲| 国产裸体歌舞团一区二区| 成人免费电影视频| 欧美日韩黄色影视| 久久婷婷一区二区三区| 亚洲色图在线看| 日韩国产精品大片| 成人97人人超碰人人99| 欧美日韩在线一区二区| 久久婷婷成人综合色| 亚洲免费看黄网站| 久久国产欧美日韩精品| 不卡的av中国片| 91精品国产综合久久精品图片| 久久久99久久| 一区二区三区成人| 国产精品伊人色| 欧美视频三区在线播放| 久久蜜桃av一区二区天堂| 国产精品高潮呻吟久久| 青青草成人在线观看| 99久久精品免费| 欧美精品一区视频| 亚洲成人777| 成人午夜碰碰视频| 欧美xxxx在线观看| 一区二区三区四区av| 国产麻豆视频一区| 在线成人免费视频| ...av二区三区久久精品| 美腿丝袜亚洲一区| 欧美在线小视频| 欧美韩日一区二区三区| 麻豆国产91在线播放| 欧美日韩一区二区在线视频| 国产精品免费久久| 国产在线精品一区二区三区不卡| 欧美日韩黄色一区二区| 亚洲欧洲日本在线| 国产成人免费视频| 精品福利av导航| 另类人妖一区二区av| 欧美精品自拍偷拍动漫精品| 亚洲人一二三区| 大陆成人av片| 久久久久国产成人精品亚洲午夜| 视频一区二区中文字幕| 欧美综合在线视频| 1000精品久久久久久久久| 国产不卡视频在线观看| 精品久久五月天| 久久成人麻豆午夜电影| 日韩欧美资源站| 免费看日韩a级影片| 欧美日韩成人在线| 亚洲成av人在线观看| 在线看日本不卡| 亚洲激情中文1区| 欧美在线999| 亚洲制服丝袜av| 欧美性色综合网| 午夜在线电影亚洲一区| 欧美视频日韩视频在线观看| 亚洲美女视频在线观看| 91免费观看国产| 亚洲三级在线免费观看| 99精品视频在线观看| 亚洲欧洲一区二区三区| 一本大道综合伊人精品热热| 中文字幕一区二区三区四区| 成人午夜又粗又硬又大| 中文字幕不卡在线观看| 国产一区二区三区免费| 欧美激情中文不卡| 成人avav影音| 亚洲视频一区二区免费在线观看| 99精品久久99久久久久| 亚洲精品日韩一| 欧美精品自拍偷拍动漫精品| 裸体在线国模精品偷拍| 26uuu久久天堂性欧美| 国产盗摄视频一区二区三区| 国产精品女人毛片| 91福利在线看| 日韩国产欧美在线播放| 日韩免费性生活视频播放| 国产成人综合在线| 亚洲欧美欧美一区二区三区| 欧美亚洲国产一区二区三区| 婷婷国产在线综合| 久久久久9999亚洲精品| 成人av电影免费在线播放| 亚洲一区二区三区美女| 日韩精品一区二区三区四区视频 | 国产aⅴ精品一区二区三区色成熟| 中文字幕欧美国产| 欧洲av一区二区嗯嗯嗯啊| 黄色日韩网站视频| 亚洲男人天堂av|