⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linedecoration.java

📁 开源(Open Source)项目JHotDraw的文档和源程序
💻 JAVA
字号:
/*
 * @(#)LineDecoration.java 5.2
 *
 */

package CH.ifa.draw.figures;

import java.awt.*;
import java.io.Serializable;

import CH.ifa.draw.util.Storable;

/**
 * Decorate the start or end point of a line or poly line figure.
 * LineDecoration is the base class for the different line decorations.
 * @see PolyLineFigure
 */
public interface LineDecoration
                extends Storable, Cloneable, Serializable {

    /**
     * Draws the decoration in the direction specified by the two points.
     */
    public abstract void draw(Graphics g, int x1, int y1, int x2, int y2);
}

⌨️ 快捷键说明

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