📄 linkactionlist.java
字号:
* 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, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 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, int nsegs, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic * update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkPoly */ public void updatePoly(int[] xypoints, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 description of drawing attributes. * @param graphicUpdateMask the mask describing the graphic * update. * @throws IOException * @see com.bbn.openmap.layer.link.LinkPoly */ public void updatePoly(int[] xpoints, int[] ypoints, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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 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 latPoint, float lonPoint, int[] xypoints, int cMode, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -