AvatarShape
AvatarShape =
AvatarPaint&object|AvatarPaint&object|AvatarPaint&object|AvatarPaint&object|AvatarPaint&object| {k:"group";x:number;y:number;rot?:number;s?:number;alpha?:number;items:AvatarShape[]; }
One shape of an avatar picture (the rig’s output), in canvas units; k says which.
Union Members
Section titled “Union Members”AvatarPaint & object
AvatarPaint & object
AvatarPaint & object
A rounded rectangle by its centre, rotated by rot radians around it.
AvatarPaint & object
AvatarPaint & object
A polyline [x0, y0, x1, y1, …], stroked with round caps and joins.
Type Literal
Section titled “Type Literal”{ k: "group"; x: number; y: number; rot?: number; s?: number; alpha?: number; items: AvatarShape[]; }
Children drawn translated by (x, y), then rotated by rot radians, then scaled by s.