enum

Opal::Image::Interpolation

Inherits Enum < Comparable < Value < Object

Interpolation algorithm used when scaling pixel buffers.

Constants

Nearest = 0
Bilinear = 1

Constructors

from(val : Symbol | Interpolation) : Interpolation
Source

Instance methods

bilinear?

Returns true if this enum value equals Bilinear

Source
nearest?

Returns true if this enum value equals Nearest

Source