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

📄 sstipple.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 JAVA
字号:
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/corba/com/bbn/openmap/layer/specialist/SStipple.java,v $// $RCSfile: SStipple.java,v $// $Revision: 1.2.2.1 $// $Date: 2004/10/14 18:26:32 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.specialist;import com.bbn.openmap.CSpecialist.*;import com.bbn.openmap.CSpecialist.CStipplePackage.*;/** * SStipple is a parameter for specialist graphics objects. It is a * bitmap that represents a pattern that can be used for a line or the * inside of an object. */public class SStipple extends _CStippleStub {    /** Height of stipple. */    protected short height_;    /** Width of stipple. */    protected short width_;    /** Data of stipple. */    protected byte[] data_;    // Need several constructors    public SStipple() {        width_ = 0;        height_ = 0;        data_ = new byte[0];    }    public SStipple(short w, short h, byte[] data) {        width_ = w;        height_ = h;        data_ = data;    }    // The SStipple methods    public void height(short height) {        height_ = height;    }    public short height() {        return height_;    }    public void width(short width) {        width_ = width;    }    public short width() {        return width_;    }    public void data(byte[] data) {        data_ = data;    }    public byte[] data() {        return data_;    }    public EStipple fill() {        return new EStipple(this, height_, width_, data_);    }}

⌨️ 快捷键说明

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