Skip to content
pixi-silk
GitHub repository
Interface

Ray

import type { Ray } from 'pixi-silk/glow';

A straight ray from (x0, y0) to (x1, y1), w0 wide at the start and w1 at the end.

Properties#

PropertyTypeDescriptionDefined in
w0numberWidth at the start.glow/light.ts:39
w1numberWidth at the end.glow/light.ts:41
x0numberStart x.glow/light.ts:31
x1numberEnd x.glow/light.ts:35
y0numberStart y.glow/light.ts:33
y1numberEnd y.glow/light.ts:37