InterfaceGame Objects & Sprites@public
FlxGraphicsStroke
Renderer-neutral vector stroke style.
ts
export interface FlxGraphicsStrokeProperties
| Property | Modifiers | Type | Description |
|---|---|---|---|
alignment | readonly | number | Stroke placement: 0 outside, 0.5 centered, 1 inside. |
cap | readonly | 'butt' | 'round' | 'square' | Open-line end shape. |
fill | readonly | FlxGraphicsFill | Packed 0xRRGGBBAA color or local gradient. |
join | readonly | 'bevel' | 'miter' | 'round' | Connected-segment corner shape. |
width | readonly | number | Positive logical-pixel stroke width. |