linkgraphiclist.java

来自「OpenMap是一个基于JavaBeansTM的开发工具包。利用OpenMap你」· Java 代码 · 共 1,646 行 · 第 1/5 页

JAVA
1,646
字号
     * @param image_height height of raster.     * @param image the java.awt.Image.     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, Image image, int image_width,                          int image_height, LinkProperties properties)            throws IOException, InterruptedException {        LinkRaster.write(lt,                ln,                image,                image_width,                image_height,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of raster.     * @param y1 vertical pixel location of upper left corner of raster.     * @param image Image to place on map.     * @param image_width width of image.     * @param image_height height of image.     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, Image image, int image_width,                          int image_height, LinkProperties properties)            throws IOException, InterruptedException {        LinkRaster.write(x1,                y1,                image,                image_width,                image_height,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param offset_x1 horizontal pixel offset of upper left corner of raster.     * @param offset_y1 vertical pixel offset of upper left corner of raster.     * @param image Image to place on map.     * @param image_width width of image.     * @param image_height height of image.     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          Image image, int image_width, int image_height,                          LinkProperties properties) throws IOException,            InterruptedException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                image,                image_width,                image_height,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param w width of raster.     * @param h height of raster.     * @param pix integer image pixel data.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int w, int h, int[] pix,                          LinkProperties properties) throws IOException {        LinkRaster.write(lt, ln, w, h, pix, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of raster.     * @param y1 vertical pixel location of upper left corner of raster.     * @param w width of raster.     * @param h height of raster.     * @param pix integer image pixel data.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, int w, int h, int[] pix,                          LinkProperties properties) throws IOException {        LinkRaster.write(x1, y1, w, h, pix, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param offset_x1 horizontal pixel offset of upper left corner of raster.     * @param offset_y1 vertical pixel offset of upper left corner of raster.     * @param w width of raster.     * @param h height of raster.     * @param pix integer image pixel data.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          int w, int h, int[] pix, LinkProperties properties)            throws IOException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                w,                h,                pix,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param url the url to download image from.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, String url,                          LinkProperties properties) throws IOException {        LinkRaster.write(lt, ln, url, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of raster.     * @param y1 vertical pixel location of upper left corner of raster.     * @param url the url to download the image from.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, String url, LinkProperties properties)            throws IOException {        LinkRaster.write(x1, y1, url, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param offset_x1 horizontal pixel offset of upper left corner of raster.     * @param offset_y1 vertical pixel offset of upper left corner of raster.     * @param url the url to download the image from.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          String url, LinkProperties properties)            throws IOException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                url,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param w width of image.     * @param h height of image.     * @param bytes the image data, indexes into the colortable.     * @param colorTable RGB integers representing colortable of image.     * @param trans the transparency of image.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int w, int h, byte[] bytes,                          Color[] colorTable, int trans,                          LinkProperties properties) throws IOException {        LinkRaster.write(lt,                ln,                w,                h,                bytes,                colorTable,                trans,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of raster.     * @param y1 vertical pixel location of upper left corner of raster.     * @param w width of image.     * @param h height of image.     * @param bytes the image data, indexes into the colortable.     * @param colorTable RGB integers representing colortable of image.     * @param trans the transparency of image.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, int w, int h, byte[] bytes,                          Color[] colorTable, int trans,                          LinkProperties properties) throws IOException {        LinkRaster.write(x1,                y1,                w,                h,                bytes,                colorTable,                trans,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of raster.     * @param offset_x1 horizontal pixel offset of upper left corner of raster.     * @param offset_y1 vertical pixel offset of upper left corner of raster.     * @param w width of image.     * @param h height of image.     * @param bytes the image data, indexes into the colortable.     * @param colorTable RGB integers representing colortable of image.     * @param trans the transparency of image.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          int w, int h, byte[] bytes, Color[] colorTable,                          int trans, LinkProperties properties)            throws IOException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                w,                h,                bytes,                colorTable,                trans,                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 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.

⌨️ 快捷键说明

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