RasterResampling

The resampling/interpolation method to use for overscaling, also known as texture magnification filter

enum RasterResampling : Enum<RasterResampling> , LayerProperty

Parameters

value

String value of this property

Entries

LINEAR
Link copied to clipboard

(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled

LINEAR("linear")
NEAREST
Link copied to clipboard

Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled

NEAREST("nearest")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: RasterResampling): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<RasterResampling>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int
value
Link copied to clipboard

String value of this property

open override val value: String