Skip to content

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 ​

ParameterType
gGraphics
aPoint
bPoint
tnumber
edgenumber
corenumber

Returns ​

void

Released under the MIT License.