Package sec.web.renderer
Class SinglePointServer
java.lang.Object
sec.web.renderer.SinglePointServer
- Author:
- Robert.Bathmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]getSinglePointByteArray(String SymbolInfo) voidgetSinglePointDimensions(String SymbolInfo, Point2D center) Deprecated.- use version with Rentangle2D bounds parameter.voidgetSinglePointDimensions(String SymbolInfo, Point2D center, Rectangle2D bounds) voidgetSinglePointDimensions(String SymbolInfo, Point2D center, Rectangle2D bounds, Dimension2D iconExtent) voidsetTacticalGraphicPointSize(int size) voidsetUnitPointSize(int size) voidstart()voidstop()
-
Constructor Details
-
SinglePointServer
public SinglePointServer(int port) -
SinglePointServer
public SinglePointServer(int port, int backlog)
-
-
Method Details
-
start
public void start() -
stop
public void stop() -
getPortNumber
public int getPortNumber() -
getSinglePointDimensions
Deprecated.- use version with Rentangle2D bounds parameter.- Parameters:
SymbolInfo- - same string you'd send to singlePointServer.handle()center- - Pixel location that represents where the image should be centered.
-
getSinglePointDimensions
- Parameters:
SymbolInfo- - same string you'd send to singlePointServer.handle()center- - pixel location that represents where the image should be centered.bounds- - Minimum Bounding Rectangle of the core symbol
-
getSinglePointDimensions
public void getSinglePointDimensions(String SymbolInfo, Point2D center, Rectangle2D bounds, Dimension2D iconExtent) - Parameters:
SymbolInfo- - same string you'd send to singlePointServer.handle()center- - pixel location that represents where the image should be centered.bounds- - Minimum Bounding Rectangle of the core symboliconExtent- - width and height of the image.
-
getSinglePointByteArray
-
setTacticalGraphicPointSize
public void setTacticalGraphicPointSize(int size) -
setUnitPointSize
public void setUnitPointSize(int size)
-