type TWrapMode = (wmClamp, wmRepeat, wmMirror);
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).
TBitmap32, TCustomBitmap32.WrapMode
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024