public class ImageCacheUtil
extends java.lang.Object
图片缓存的工具类
构造器和说明 |
---|
ImageCacheUtil() |
限定符和类型 | 方法和说明 |
---|---|
static Tile |
getTile(Point2D originalPoint, Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
根据起算点和viewBounds计算切片
|
static Tile |
getTile(Point2D originalPoint, Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion, double[] resolutions)
根据起算点和viewBounds计算切片
|
static java.lang.String |
pathToUrl(java.lang.String path, java.lang.String outputDir, java.lang.String outputSite)
路径到URL的转换。
|
public static Tile getTile(Point2D originalPoint, Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
根据起算点和viewBounds计算切片
originalPoint
-viewBounds
-viewer
-tileversion
-public static Tile getTile(Point2D originalPoint, Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion, double[] resolutions)
根据起算点和viewBounds计算切片
originalPoint
-viewBounds
-viewer
-tileversion
-resolutions
- 使用精确分辨率public static java.lang.String pathToUrl(java.lang.String path, java.lang.String outputDir, java.lang.String outputSite)
路径到URL的转换。
path
-outputDir
-outputSite
-