enum

CrImage::Transform::RotationInterpolation

Inherits Enum / Comparable / Value / Object

Interpolation method for arbitrary angle rotation.

Options:

  • Nearest : Fast, lower quality (pixel-perfect for pixel art)
  • Bilinear : Slower, higher quality (smooth edges)

Constants

Nearest = 0
Bilinear = 1

Instance methods

bilinear?

Returns true if this enum value equals Bilinear

Source
nearest?

Returns true if this enum value equals Nearest

Source