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

📄 frame.java

📁 一个基于J2ME的动画引擎框架
💻 JAVA
字号:
package sjg.animation;import java.awt.*;import java.awt.image.*;/** * Represents a single image in an {@link Animation animation}. * * <p>Frames are created by {@link Cropper Cropper}. * * @author Christian Hvid */public class Frame {    private Image image;    private String name;    private int width;    private int height;    public int getWidth() {        return width;    }    public int getHeight() {        return height;    }    public Image getImage() {        return image;    }    public String getName() {        return name;    }    public Frame(String name, Image image, int width, int height) {        this.name = name;        this.image = image;        this.width = width;        this.height = height;    }}

⌨️ 快捷键说明

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