📄 esrilinkpointrecord.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/openmap/com/bbn/openmap/layer/link/shape/ESRILinkPointRecord.java,v $// $RCSfile: ESRILinkPointRecord.java,v $// $Revision: 1.3.2.1 $// $Date: 2004/10/14 18:27:09 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.link.shape;import java.io.IOException;import com.bbn.openmap.layer.shape.*;import com.bbn.openmap.layer.link.*;/** * An ESRI Point record. * * @author Ray Tomlinson * @author Tom Mitchell <tmitchell@bbn.com> * @version $Revision: 1.3.2.1 $ $Date: 2004/10/14 18:27:09 $ */public class ESRILinkPointRecord extends ESRIPointRecord implements ESRILinkRecord { /** * Initializes this point from the given point. * * @param x the x coordinate * @param y the y coordinate */ public ESRILinkPointRecord(double x, double y) { super(x, y); } /** * Initialize a point record from the given buffer. * * @param b the buffer * @param off the offset into the buffer where the data starts */ public ESRILinkPointRecord(byte b[], int off) throws IOException { super(b, off); } /** * Generates OMGraphics and adds them to the given list. * * @param lgl the graphics response to write the point to. * @param properties the semantic description of how the point * should be drawn. */ public void writeLinkGraphics(LinkGraphicList lgl, LinkProperties properties) throws IOException { lgl.addRectangle((float) y, (float) x, -1, -1, 1, 1, properties); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -