Class: TwistFilter

TwistFilter

This filter applies a twist effect making display objects appear twisted in the given direction.
originalfilter

new TwistFilter (options)

Name Type Attributes Description
options Partial<TwistFilterOptions> <optional>

Options for the TwistFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS TwistFilterOptions staticreadonly

Default values for options.

angle number

The angle of the twist

Default Value:
  • 4

offset PointData

The x offset coordinate to change the position of the center of the circle of effect

Default Value:
  • 0

offsetX number

The x offset coordinate to change the position of the center of the circle of effect

Default Value:
  • 0

offsetY number

The y offset coordinate to change the position of the center of the circle of effect

Default Value:
  • 0

radius number

The radius of the twist

Default Value:
  • 200