linkactionlist.java
来自「OpenMap是一个基于JavaBeansTM的开发工具包。利用OpenMap你」· Java 代码 · 共 1,646 行 · 第 1/5 页
JAVA
1,646 行
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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRaster */ public void updateRaster(float lt, float ln, String url, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRaster */ public void updateRaster(int x1, int y1, String url, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRaster */ public void updateRaster(float lt, float ln, int offset_x1, int offset_y1, String url, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRaster */ public void updateRaster(float lt, float ln, int w, int h, byte[] bytes, Color[] colorTable, int trans, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRaster */ public void updateRaster(int x1, int y1, int w, int h, byte[] bytes, Color[] colorTable, int trans, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRaster */ public void updateRaster(float lt, float ln, int offset_x1, int offset_y1, int w, int h, byte[] bytes, Color[] colorTable, int trans, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 lType the line type to use for the rectangle - straight, rhumb, * great circle. * @param properties description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRectangle */ public void updateRectangle(float lt1, float ln1, float lt2, float ln2, int lType, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRectangle */ public void updateRectangle(float lt1, float ln1, float lt2, float ln2, int lType, int nsegs, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkRectangle.write(lt1, ln1, lt2, ln2, lType, nsegs, properties, link.dos); } /** * Write a rectangle in the response. * * @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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRectangle */ public void updateRectangle(int x1, int y1, int x2, int y2, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 bitmap. * @param ln1 longitude of placement of upper left corner of bitmap. * @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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkRectangle */ public void updateRectangle(float lt1, float ln1, int x1, int y1, int x2, int y2, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkRectangle.write(lt1, ln1, x1, y1, x2, y2, properties, link.dos); } /** * Write a point in the response. * * @param lt1 latitude of point. * @param ln1 longitude of point. * @param radius the radius of the point graphic. * @param properties description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkPoint */ public void updatePoint(float lt1, float ln1, int radius, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkPoint.write(lt1, ln1, radius, properties, link.dos); } /** * Write a point in the response. * * @param x1 the horizonal screen pixel location of the point. * @param y1 the vertical screen pixel location of the point. * @param radius the pixel radius size of the point. * @param properties description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkPoint */ public void updatePoint(int x1, int y1, int radius, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkPoint.write(x1, y1, radius, properties, link.dos); } /** * Write a point in the response. * * @param lt1 latitude of placement of upper left corner of bitmap. * @param ln1 longitude of placement of upper left corner of bitmap. * @param x1 Horizontal pixel offset of upper left corner of point.. * @param y1 Vertical pixel offset of upper left corner of point. * @param radius the pixel size of the point. * @param properties description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkPoint */ public void updatePoint(float lt1, float ln1, int x1, int y1, int radius, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkPoly */ public void updatePoly(float[] llPoints, int units, int lType, LinkProper
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?