| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
thickness |
number |
<optional> |
1 |
The tickness of the outline. Make it 2 times more for resolution 2 |
color |
number |
<optional> |
0x000000 |
The color of the outline. |
quality |
number |
<optional> |
0.1 |
The quality of the outline from |
alpha |
number |
<optional> |
1.0 |
The alpha of the outline. |
knockout |
boolean |
<optional> |
false |
Only render outline, not the contents. |
- See:
Example
someSprite.filters = [new OutlineFilter(2, 0x99ff99)];
Extends
- PIXI.Filter
Members
The maximum number of samples for rendering outline.
- Default Value:
- 100
The minimum number of samples for rendering outline.
- Default Value:
- 1
The alpha of the outline.
- Default Value:
- 1.0
The color of the outline.
- Default Value:
- 0x000000
Only render outline, not the contents.
- Default Value:
- false
The thickness of the outline.
- Default Value:
- 1

