Interface: OutlineFilterOptions

OutlineFilterOptions

Options for the OutlineFilter constructor.

Properties:
Name Type Default Description
alpha number 1

The alpha of the outline

color ColorSource 0x000000

The color of the outline

knockout boolean false

Whether to only render outline, not the contents.

quality number 0.1

The quality of the outline from 0 to 1. Using a higher quality setting will result in more accuracy but slower performance

thickness number 1

The thickness of the outline

Members

alpha number

The alpha of the outline

Default Value:
  • 1

color ColorSource

The color of the outline

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

knockout boolean

Whether to only render outline, not the contents.

Default Value:
  • false

quality number

The quality of the outline from 0 to 1. Using a higher quality setting will result in more accuracy but slower performance

Default Value:
  • 0.1

thickness number

The thickness of the outline

Default Value:
  • 1