Class: NeverTileDiscardPolicy

NeverTileDiscardPolicy

new NeverTileDiscardPolicy()

A TileDiscardPolicy specifying that tile images should never be discard.
Source:
See:

Methods

isReady() → {Boolean}

Determines if the discard policy is ready to process images.
Source:
Returns:
True if the discard policy is ready to process images; otherwise, false.
Type
Boolean

shouldDiscardImage(image) → {Boolean}

Given a tile image, decide whether to discard that image.
Parameters:
Name Type Description
image Image An image to test.
Source:
Returns:
True if the image should be discarded; otherwise, false.
Type
Boolean