drop
import { drop } from 'pixi-silk/glow';
function drop(
g: SilkGraphics,
cx: number,
cy: number,
r: number,
tip?: number
): SilkGraphics;
Adds a drop with its tip up as one closed path and returns g. It is a circle of radius r around
(cx, cy), pulled into a point tip above the centre (default 1.6 * r).
Parameters#
| Parameter | Type |
|---|---|
g | SilkGraphics |
cx | number |
cy | number |
r | number |
tip | number |