enum Fluorite::SpriteSheet::Core::ScaleFlags

Overview

Scaling interpolation filter used when resizing frames

Defined in:

fluorite/sprite_sheet/core/pipeline.cr

Enum Members

Nearest = 0
Bilinear = 1
Bicubic = 2
Lanczos = 3
Spline = 4

Constructors

Instance Method Summary

Constructor Detail

def self.parse_mode(value : String | Symbol) : self #

Instance Method Detail

def bicubic? #

Returns true if this enum value equals Bicubic


def bilinear? #

Returns true if this enum value equals Bilinear


def lanczos? #

Returns true if this enum value equals Lanczos


def nearest? #

Returns true if this enum value equals Nearest


def spline? #

Returns true if this enum value equals Spline


def to_ffmpeg : String #