void Blur( float radius, bool tileClamp )

robot_2Generated
code_blocksInput

Description

The Blur method applies a blur effect to the bitmap. The intensity of the blur is determined by the radius parameter. The tileClamp parameter specifies whether the edges of the bitmap should be clamped to prevent wrapping during the blur operation.

Usage

To use the Blur method, create an instance of the Bitmap class and call the method with the desired radius and tileClamp settings. The method modifies the bitmap in place, so no new bitmap is returned.

Example

// Create a new Bitmap instance
Bitmap bitmap = new Bitmap();

// Apply a blur with a radius of 5 and tile clamping enabled
bitmap.Blur(5.0f, true);