Class: NeverTileDiscardPolicy

NeverTileDiscardPolicy

new NeverTileDiscardPolicy()

TileDiscardPolicy specifies that tile images should not be discarded.

See:

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
image Image

The image to be tested.

Returns:
Type Description
Boolean If the image should be discarded, it is true; Otherwise, it is false.