Class: BevelFilter

BevelFilter

Bevel Filter.
originalfilter

new BevelFilter (options)

Name Type Attributes Default Description
options object <optional>

The optional parameters of the filter.

options.rotation number <optional>
45

The angle of the light in degrees.

options.thickness number <optional>
2

The tickness of the bevel.

options.lightColor number <optional>
0xffffff

Color of the light.

options.lightAlpha number <optional>
0.7

Alpha of the light.

options.shadowColor number <optional>
0x000000

Color of the shadow.

options.shadowAlpha number <optional>
0.7

Alpha of the shadow.

See:

Extends

  • PIXI.Filter

Members

lightAlpha number

Alpha of the light.

Default Value:
  • 0.7

lightColor number

Color of the light.

Default Value:
  • 0xffffff

rotation number

The angle of the light in degrees.

Default Value:
  • 45

shadowAlpha number

Alpha of the shadow.

Default Value:
  • 0.7

shadowColor number

Color of the shadow.

Default Value:
  • 0x000000

thickness number

The tickness of the bevel.

Default Value:
  • 2