ArtLayer.applyGlassEffect

void applyGlassEffect (int distortion, int smoothness, int scaling, bool invert, TextureType texture, File textureFile)

Parameters

distortion The amount of distortion. Range: 0 to 20.
smoothness The smoothness. Range: 1 to 15.
scaling The amount of scaling. Range: 50 to 200.
invert If true, the texture is inverted.
texture The type of texture.
textureFile The file from which to load the texture type.

Description

Applies the glass filter.