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

📄 linkgraphiclist.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
     *        rectangle.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRectangle     */    public void addRectangle(float lt1, float ln1, float lt2, float ln2,                             int lType, LinkProperties properties)            throws IOException {        LinkRectangle.write(lt1, ln1, lt2, ln2, lType, properties, link.dos);    }    /**     * Write a rectangle in the response.     *      * @param lt1 latitude of placement of upper left corner of     *        rectangle.     * @param ln1 longitude of placement of upper left corner of     *        rectangle.     * @param lt2 latitude of placement of lower right corner of     *        rectangle.     * @param ln2 longitude of placement of lower right corner of     *        rectangle.     * @param lType the line type to use for the rectangle - straight,     *        rhumb, great circle.     * @param nsegs number of segments to use to approximate curved     *        rectangle.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRectangle     */    public void addRectangle(float lt1, float ln1, float lt2, float ln2,                             int lType, int nsegs, LinkProperties properties)            throws IOException {        LinkRectangle.write(lt1,                ln1,                lt2,                ln2,                lType,                nsegs,                properties,                link.dos);    }    /**     * Write a rectangle in the response.     *      * @param x1 Horizontal pixel location of upper left corner of     *        rectangle..     * @param y1 Vertical pixel location of upper left corner of     *        rectangle.     * @param x2 Horizontal pixel location of lower right corner of     *        rectangle..     * @param y2 Vertical pixel location of lower right corner of     *        rectangle.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRectangle     */    public void addRectangle(int x1, int y1, int x2, int y2,                             LinkProperties properties) throws IOException {        LinkRectangle.write(x1, y1, x2, y2, properties, link.dos);    }    /**     * Write a rectangle in the response.     *      * @param lt1 latitude of placement of upper left corner of     *        rectangle.     * @param ln1 longitude of placement of upper left corner of     *        rectangle..     * @param x1 Horizontal pixel offset of upper left corner of     *        rectangle.     * @param y1 Vertical pixel offset of upper left corner of     *        rectangle.     * @param x2 Horizontal pixel offset of lower right corner of     *        rectangle.     * @param y2 Vertical pixel offset of lower right corner of     *        rectangle.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRectangle     */    public void addRectangle(float lt1, float ln1, int x1, int y1, int x2,                             int y2, LinkProperties properties)            throws IOException {        LinkRectangle.write(lt1, ln1, x1, y1, x2, y2, properties, link.dos);    }    /**     * Write a point in the response.     *      * @param lt1 latitude of placement of upper left corner of point.     * @param ln1 longitude of placement of upper left corner of     *        point.     * @param radius the pixel radius size of the point.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoint     */    public void addPoint(float lt1, float ln1, int radius,                         LinkProperties properties) throws IOException {        LinkPoint.write(lt1, ln1, radius, properties, link.dos);    }    /**     * Write a point in the response.     *      * @param x1 Horizontal pixel location of upper left corner of     *        point..     * @param y1 Vertical pixel location of upper left corner of     *        point.     * @param radius Pixel radius of the point.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoint     */    public void addPoint(int x1, int y1, int radius, LinkProperties properties)            throws IOException {        LinkPoint.write(x1, y1, radius, properties, link.dos);    }    /**     * Write a point in the response.     *      * @param lt1 latitude of placement of upper left corner of point.     * @param ln1 longitude of placement of upper left corner of     *        point..     * @param x1 Horizontal pixel offset of upper left corner of     *        point.     * @param y1 Vertical pixel offset of upper left corner of point.     * @param radius Pixel radius of the point.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoint     */    public void addPoint(float lt1, float ln1, int x1, int y1, int radius,                         LinkProperties properties) throws IOException {        LinkPoint.write(lt1, ln1, x1, y1, radius, properties, link.dos);    }    /**     * Write a poly in the response.     *      * @param llPoints alternating latitude and logitude points of     *        poly.     * @param units degrees or radians.     * @param lType straight, rhumb, great circle.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoly     */    public void addPoly(float[] llPoints, int units, int lType,                        LinkProperties properties) throws IOException {        LinkPoly.write(llPoints, units, lType, properties, link.dos);    }    /**     * Write a poly in the response.     *      * @param llpoints alternating latitude and logitude points of     *        poly.     * @param units degrees or radians.     * @param lType straight, rhumb, great circle.     * @param nsegs number of segments to use to approimate curved     *        poly lines..     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoly     */    public void addPoly(float[] llpoints, int units, int lType, int nsegs,                        LinkProperties properties) throws IOException {        LinkPoly.write(llpoints, units, lType, nsegs, properties, link.dos);    }    /**     * Write a poly in the response.     *      * @param xypoints alternating x and y pixel locations of poly.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoly     */    public void addPoly(int[] xypoints, LinkProperties properties)            throws IOException {        LinkPoly.write(xypoints, properties, link.dos);    }    /**     * Write a poly in the response.     *      * @param xpoints horizontal pixel locations of poly.     * @param ypoints vertical pixel locations of poly.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoly     */    public void addPoly(int[] xpoints, int[] ypoints, LinkProperties properties)            throws IOException {        LinkPoly.write(xpoints, ypoints, properties, link.dos);    }    /**     * Write a poly in the response.     *      * @param latPoint the latitude anchor point of the poly.     * @param lonPoint the longitude anchor point of the poly.     * @param xypoints alternating x and y offset polygon points.     * @param cMode Coordinate Mode (Origin or Previous) that indicate     *        whether the x and y points are relative to the first     *        point, or to the previous point. .     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoly     */    public void addPoly(float latPoint, float lonPoint, int[] xypoints,                        int cMode, LinkProperties properties)            throws IOException {        LinkPoly.write(latPoint,                lonPoint,                xypoints,                cMode,                properties,                link.dos);    }    /**     * Write a poly in the response.     *      * @param latPoint the latitude anchor point of the poly.     * @param lonPoint the longitude anchor point of the poly.     * @param xpoints horizontal pixel offset polygon points.     * @param ypoints vertical pixel offset polygon points.     * @param cMode Coordinate Mode (Origin or Previous) that indicate     *        whether the x and y points are relative to the first     *        point, or to the previous point. .     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkPoly     */    public void addPoly(float latPoint, float lonPoint, int[] xpoints,                        int[] ypoints, int cMode, LinkProperties properties)            throws IOException {        LinkPoly.write(latPoint,                lonPoint,                xpoints,                ypoints,                cMode,                properties,                link.dos);    }    /**     * Write a text in the response.     *      * @param latPoint latitude of placement of text.     * @param lonPoint longitude of placement of text.     * @param stuff the text.     * @param justify place the text left, right or centered on     *        location.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkText     */    public void addText(float latPoint, float lonPoint, String stuff,                        int justify, LinkProperties properties)            throws IOException {        LinkText.write(latPoint,                lonPoint,                stuff,                LinkText.DEFAULT_FONT,                justify,                properties,                link.dos);    }    /**     * Write a text in the response.     *      * @param x Horizontal pixel location of text.     * @param y Vertical pixel location of text.     * @param stuff the text.     * @param justify place the text left, right or centered on     *        location.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkText     */    public void addText(int x, int y, String stuff, int justify,                        LinkProperties properties) throws IOException {        LinkText.write(x,                y,                stuff,                LinkText.DEFAULT_FONT,                justify,                properties,                link.dos);    }    /**     * Write a text in the response.     *      * @param latPoint latitude of text placement.     * @param lonPoint longitude of text placement.     * @param offset_x Horizontal pixel offset of text.     * @param offset_y Vertical pixel offset of text.     * @param stuff the text.     * @param justify place the text left, right or centered on     *        location.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkText     */    public void addText(float latPoint, float lonPoint, int offset_x,                        int offset_y, String stuff, int justify,                        LinkProperties properties) throws IOException {        LinkText.write(latPoint,                lonPoint,                offset_x,                offset_y,                stuff,                LinkText.DEFAULT_FONT,                justify,                properties,                link.dos);    }    /**     * Write a text in the response.     *      * @param latPoint latitude of placement of text.     * @param lonPoint longitude of placement of text.     * @param stuff the text.     * @param font a text representation of the font.     * @param justify place the text left, right or centered on     *        location.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkText     */    public void addText(float latPoint, float lonPoint, String stuff,                        String font, int justify, LinkProperties properties)            throws IOException {        LinkText.write(latPoint,                lonPoint,                stuff,                font,                justify,                properties,                link.dos);    }    /**     * Write a text in the response.     *      * @param x Horizontal pixel location of text.     * @param y Vertical pixel location of text.     * @param stuff the text.     * @param font a text representation of the font.     * @param justify place the text left, right or centered on     *        location.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkText     */    public void addText(int x, int y, String stuff, String font, int justify,                        LinkProperties properties) throws IOException {        LinkText.write(x, y, stuff, font, justify, properties, link.dos);    }    /**     * Write a text in the response.     *      * @param latPoint latitude of text placement.     * @param lonPoint longitude of text placement.     * @param offset_x Horizontal pixel offset of text.     * @param offset_y Vertical pixel offset of text.     * @param stuff the text.     * @param font a text representation of the font.     * @param justify place the text left, right or centered on     *        location.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkText     */    public void addText(float latPoint, float lonPoint, int offset_x,                        int offset_y, String stuff, String font, int justify,                        LinkProperties properties) throws IOException {        LinkText.write(latPoint,                lonPoint,                offset_x,                offset_y,                stuff,                font,                justify,                properties,                link.dos);    }}

⌨️ 快捷键说明

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