DiscardEmptyTileImagePolicy

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.

See also

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun isReady(): Boolean

Determines if the discard policy is ready to process images.

Link copied to clipboard
open override fun shouldDiscardImage(image: HTMLImageElement): Boolean

Given a tile image, decide whether to discard that image.