public class ImageMetaData extends MapMetaData
限定符和类型 | 字段和说明 |
---|---|
OutputFormat |
tileFormat |
boolean |
transparent |
mapParameter, mapStatusHashCode
bounds, mapName, originalPoint, prjCoordSys, resolutions, scaleCaptionsMap, scaleDenominators, tileHeight, tileRuleVersion, tilesetName, tileWidth
构造器和说明 |
---|
ImageMetaData() |
ImageMetaData(ImageMetaData metaData) |
限定符和类型 | 方法和说明 |
---|---|
ImageMetaData |
bounds(Rectangle2D bounds) |
ImageMetaData |
copy() |
boolean |
equals(java.lang.Object obj)
比较当前对象
MetaData 否和传入对象一样 |
static ImageMetaData |
from(MapParameter mapParam, ImageOutputOption outputOption)
反推出切片元信息,用于定位或创建切片集
|
java.lang.String |
getTilesetId() |
TileType |
getTileType() |
int |
hashCode()
获取本对象
MetaData 的哈希码值 |
boolean |
isCompatible(MetaData other)
判断给定元信息是否与当前元信息兼容。
|
ImageMetaData |
mapName(java.lang.String mapName) |
ImageMetaData |
mapStatusHashCode(java.lang.String mapStatusHashCode) |
ImageMetaData |
resolutions(double[] resolutions) |
ImageMetaData |
scaleDenominators(double[] scaleDenominators) |
void |
setTileType(TileType tileType) |
Tile |
tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion) |
ImageMetaData |
tileFormat(OutputFormat tileFormat) |
ImageMetaData |
tileHeight(int tileHeight) |
ImageMetaData |
tileWidth(int tileWidth) |
ImageMetaData |
transparent(boolean transparent) |
getDpi, isDPICompatiable, toMapParameter
appendMetaData, findResolutionByScaleDenominator, findScaleDenominatorByResolution, getTileMatrix
public OutputFormat tileFormat
public boolean transparent
public ImageMetaData()
public ImageMetaData(ImageMetaData metaData)
public ImageMetaData mapName(java.lang.String mapName)
public ImageMetaData tileWidth(int tileWidth)
public ImageMetaData tileHeight(int tileHeight)
public ImageMetaData tileFormat(OutputFormat tileFormat)
public ImageMetaData transparent(boolean transparent)
public ImageMetaData resolutions(double[] resolutions)
public ImageMetaData scaleDenominators(double[] scaleDenominators)
public ImageMetaData bounds(Rectangle2D bounds)
public ImageMetaData mapStatusHashCode(java.lang.String mapStatusHashCode)
public int hashCode()
获取本对象MetaData
的哈希码值
hashCode
在类中 MapMetaData
public boolean equals(java.lang.Object obj)
比较当前对象MetaData
否和传入对象一样
equals
在类中 MapMetaData
obj
- 待比较对象public java.lang.String getTilesetId()
getTilesetId
在类中 MetaData
public static ImageMetaData from(MapParameter mapParam, ImageOutputOption outputOption)
mapParam
-outputOption
-public ImageMetaData copy()
public TileType getTileType()
getTileType
在类中 MetaData
public void setTileType(TileType tileType)
setTileType
在类中 MetaData
public boolean isCompatible(MetaData other)
isCompatible
在类中 MetaData
metaData
-public Tile tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)