Class: BevelFilter

BevelFilter

Bevel Filter.
originalfilter

new BevelFilter (options)

Name Type Attributes Description
options BevelFilterOptions <optional>

Options for the BevelFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS BevelFilterOptions staticreadonly

Default values for options.

lightAlpha number

The alpha value of the left & top bevel.

Default Value:
  • 0.7

lightColor ColorSource

The color value of the left & top bevel.

Default Value:
  • 0xffffff
Example
[1.0, 1.0, 1.0] = 0xffffff

rotation number

The angle of the light in degrees

Default Value:
  • 45

shadowAlpha number

The alpha value of the right & bottom bevel.

Default Value:
  • 0.7

shadowColor ColorSource

The color value of the right & bottom bevel.

Default Value:
  • 0xffffff

thickness number

The thickness of the bevel

Default Value:
  • 2