CubicResampler

class CubicResampler(val b: Float, val c: Float) : SamplingMode

Specify B and C (each between 0...1) to create a shader that applies the corresponding cubic reconstruction filter to the image.

Example values:

B = 1/3, C = 1/3
"Mitchell" filter
B = 0, C = 1/2
"Catmull-Rom" filter
*

See

Constructors

Link copied to clipboard
constructor(b: Float, c: Float)

Properties

Link copied to clipboard
val b: Float
Link copied to clipboard
val c: Float

Functions

Link copied to clipboard
open override fun _pack(): Long
Link copied to clipboard
open override fun _packedInt1(): Int
Link copied to clipboard
open override fun _packedInt2(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String