One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

ImageBlur

struct · iOS 17.0+ · SDK 27.1

struct ImageBlur

An image blurring transformer.

Members (4)

init · iOS 17.0+

init

TypeScript
static init(radius: number): ImageBlur
Swift declaration
init(radius: Double)

Creates a transformer that blurs an image. - Parameter radius: The radius determines how many pixels are used to create the blur. The larger the radius, the blurrier the result.

get · iOS 17.0+

radius

TypeScript
get radius(): number
Swift declaration
var radius: Double

The radius determines how many pixels are used to create the blur. The larger the radius, the blurrier the result.

set · iOS 17.0+

radius

TypeScript
set radius(value: number)
Swift declaration
var radius: Double

The radius determines how many pixels are used to create the blur. The larger the radius, the blurrier the result.

method · iOS 17.0+

applied

TypeScript
applied(image: _CoreImage_CIImage, eventHandler?: (((arg0: Event) => void)) | null): _CoreImage_CIImage
Swift declaration
func applied(to image: CIImage, eventHandler: EventHandler? = nil) -> CIImage

Blurs an image using a disc-shaped convolution kernel. - Parameters: - image: An image. - eventHandler: An event handler. - Returns: The blurry image.

Skipped declarations

No declarations were skipped in this snapshot.

All CreateMLComponents types →