SampledImageOrientation

Immutable source-axis directions for nearest sampling through normalized source and destination rectangles. Reversal swaps the corresponding source endpoints before interpolation and does not rearrange image pixels. This preserves the selected source texel at exact nearest-neighbor boundaries and is safe to share between threads.

Entries

Link copied to clipboard

Source coordinates increase along both destination axes.

Link copied to clipboard

Source x coordinates decrease while source y coordinates increase.

Link copied to clipboard

Source y coordinates decrease while source x coordinates increase.

Link copied to clipboard

Source coordinates decrease along both destination axes.

Properties

Link copied to clipboard

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

Link copied to clipboard

whether the source right edge maps to the destination left edge.

Link copied to clipboard

whether the source bottom edge maps to the destination top edge.

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

Functions

Link copied to clipboard

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

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