Interface: BevelFilterOptions

BevelFilterOptions

Options for the BevelFilter constructor.

Properties:
Name Type Default Description
lightAlpha number 0.7

The alpha value of the left & top bevel.

lightColor ColorSource 0xffffff

The color value of the left & top bevel.

rotation number 45

The angle of the light in degrees

shadowAlpha number 0.7

The alpha value of the right & bottom bevel.

shadowColor ColorSource 0x000000

The color value of the right & bottom bevel.

thickness number 2

The thickness of the bevel

Members

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:
  • 0x000000
Example
[1.0, 1.0, 1.0] = 0xffffff

thickness number

The thickness of the bevel

Default Value:
  • 2