Skip to main content

ResizeMode

Type Alias ResizeMode 

Source
pub type ResizeMode = InterpolationMode;

Aliased Type§

#[repr(i32)]
pub enum ResizeMode { kNEAREST = 0, kLINEAR = 1, kCUBIC = 2, }

Variants§

§

kNEAREST = 0

!< ND (0 < N <= 8) nearest neighbor resizing.

§

kLINEAR = 1

!< Supports linear (1D), bilinear (2D), and trilinear (3D) interpolation

§

kCUBIC = 2

!< Supports bicubic (2D) interpolation