1681-engine / pixel / pixelPaint / dashStreak
Function: dashStreak() ​
ts
function dashStreak(
g,
a,
b,
t,
edge,
core
): void;Defined in: src/pixel/pixelPaint.ts:196
A dash streak from a to b: a dark body with a bright core, eaten away from the start as t goes 0 to 1.
Parameters ​
| Parameter | Type |
|---|---|
g | Graphics |
a | Point |
b | Point |
t | number |
edge | number |
core | number |
Returns ​
void