TWrapMode

Graphics32

TWrapMode

type TWrapMode = (wmClamp, wmRepeat, wmMirror);

Description

TWrapMode is the type for the WrapMode property in TBitmap32, which specifies how to wrapping pixel getters and setters should behave.

wmClamp will repeat the edge pixel if a pixel is read or written outside the bitmap's boundary.

wmRepeat will repeat the relative bitmap colors if it's outside of the bitmap's boundary (also referred to as 'seamless' and 'texture' mode).

wmMirror will mirror the pixel relative to the bitmap if it's outside the bitmap's boundary. This mode is useful for better perceptual results with spatial processing (like blurring).

See Also

TBitmap32, TBitmap32.WrapMode