Skip to content
pixi-silk
GitHub repository
Type

StrokeInput

import type { StrokeInput } from 'pixi-silk';
type StrokeInput = 
  | ColorSource
  | Gradient
  | StrokeStyle;

What stroke() accepts: any Pixi colour, a gradient or a StrokeStyle.