new NeverTileDiscardPolicy()
TileDiscardPolicy specifies that tile images should not be discarded.
Methods
-
isReady(){Boolean}
-
Determine if the discard strategy is ready to process the image.
Returns:
Type Description Boolean If the discard strategy is ready to process the image, it is true; Otherwise, it is false. -
shouldDiscardImage(image){Boolean}
-
Given a tile image, decide whether to discard it.
Name Type Description imageImage The image to be tested.
Returns:
Type Description Boolean If the image should be discarded, it is true; Otherwise, it is false.