Class: PixelateFilter

PixelateFilter

This filter applies a pixelate effect making display objects appear 'blocky'.
originalfilter

new PixelateFilter (size)

Name Type Attributes Default Description
size Point | number<Array> | number <optional>
10

Either the width/height of the size of the pixels, or square size

Extends

  • Filter

Members

size Size

The size of the pixels

Default Value:
  • [10,10]

sizeX number

The size of the pixels on the x axis

Default Value:
  • 10

sizeY number

The size of the pixels on the y axis

Default Value:
  • 10