Skip to content
pixi-silk
GitHub repository
Type

ExtendMode

import type { ExtendMode } from 'pixi-silk';
type ExtendMode = "pad" | "repeat" | "reflect";

What a gradient does outside 0..1: hold the end colours (pad), tile (repeat) or mirror (reflect).