根据某些标准丢弃图块图像的策略。该类型描述了一个接口,并不打算直接实例化。 A policy for discarding tile images according to some criteria. This type describes an interface and is not intended to be instantiated directly.
方法 Methods
确定丢弃策略是否准备好处理图像。 Determines if the discard policy is ready to process images.
返回: Returns:
如果丢弃策略已准备好处理图像,则为 True;否则为假。 True if the discard policy is ready to process images; otherwise, false.
给定一个平铺图像,决定是否丢弃该图像。 Given a tile image, decide whether to discard that image.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
image |
HTMLImageElement | 要测试的图像。 An image to test. |
返回: Returns:
如果图像应该被丢弃,则为 True;否则为假。 True if the image should be discarded; otherwise, false.
