ray
import { ray } from 'pixi-silk/glow';
function ray(g: SilkGraphics, r: Ray): SilkGraphics;
Adds a tapered ray to g as one polygon and returns g. Fill it afterwards, blurred for light.
One shape has no seam down its diagonal when it is blurred or translucent.
Parameters#
| Parameter | Type |
|---|---|
g | SilkGraphics |
r | Ray |