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 Default Description
options object <optional>

Object object to use.

options.radius number <optional>
200

The radius of the twist.

options.angle number <optional>
4

The angle of the twist.

options.padding number <optional>
20

Padding for filter area.

options.offset PIXI.Point <optional>

Center of twist, in local, pixel coordinates.

See:

Extends

  • PIXI.Filter

Members

TwistFilter.defaults TwistFilterOptions staticreadonly

Default constructor options.

angle number

The angle of the twist.

offset PIXI.Point

This point describes the the offset of the twist.

radius number

The radius of the twist.