A policy for discarding tile images that contain no data (and so aren't actually images).
This policy discards
DiscardEmptyTileImagePolicy.EMPTY_IMAGE
, which is
expected to be used in place of any empty tile images by the image loading code.
成员(属性)
Default value for representing an empty image.
方法
Determines if the discard policy is ready to process images.
返回值:
True if the discard policy is ready to process images; otherwise, false.
Given a tile image, decide whether to discard that image.
参数名称 | 类型 | 描述信息 |
---|---|---|
image |
HTMLImageElement | An image to test. |
返回值:
True if the image should be discarded; otherwise, false.