Class: DotFilter

DotFilter

This filter applies a dotscreen effect making display objects appear to be made out of black and white halftone dots like an old printer.
originalfilter

Original filter

new DotFilter (options)

Name Type Attributes Description
options DotFilterOptions <optional>

Options for the DotFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS DotFilterOptions staticreadonly

Default values for options.

angle number

The radius of the effect.

Default Value:
  • 5

grayscale boolean

Whether to rendering it in gray scale.

Default Value:
  • true

scale number

The scale of the effect.

Default Value:
  • 1