Interpolation

Алгоритм интерполяции при масштабировании растрового изображения.

Значение code используется в строковых параметрах (например, в query-строке HTTP-запроса), а hint — соответствующая подсказка для java.awt.Graphics2D.

Entries

Link copied to clipboard

Ближайший сосед — самый быстрый, без сглаживания.

Link copied to clipboard

Билинейная интерполяция — компромисс скорости и качества (по умолчанию).

Link copied to clipboard

Бикубическая интерполяция — самое высокое качество, самый медленный.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: String

короткий строковый код алгоритма

Link copied to clipboard
val entries: EnumEntries<Interpolation>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val hint: Any

подсказка интерполяции для Graphics2D

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Interpolation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Interpolation>

Returns an array containing the constants of this enum type, in the order they're declared.