Skip to content
pixi-silk
GitHub repository
Function

propertyClass

import { propertyClass } from 'pixi-silk/i18n';
function propertyClass(name: string): "shape" | "paint" | "behaviour" | "unknown";

paint, shape or behaviour for a style property. The compiler and the runtime both use this table.

Parameters#

ParameterType
namestring

Returns#

"shape" | "paint" | "behaviour" | "unknown"