Declaration
function createShape(
path: (rect: SymbolicRect) => PathChain
): DeclaredShape<{}>
function createShape<P extends Parameters>(
parameters: P,
path: (rect: SymbolicRect, parameters: Symbols<P>) => PathChain
): DeclaredShape<P>Parameters
path*(rect: SymbolicRect) => PathChainparameters*P
See also
More in Functions.