Utilização

Transform several drawing shapes together.

Este tipo é usado por Group

tsx
// Transform several drawing shapes together.
import { Circle, Drawing, Group } from 'kuito';

<Drawing label="Three dots" viewBox={[0, 0, 30, 10]} width={60} height={20}>
  <Group fill="#8a8a96" translateX={5} translateY={5}>
    <Circle r={3} />
    <Circle cx={10} r={3} />
    <Circle cx={20} r={3} />
  </Group>
</Drawing>;

Declaração do tipo

ts
export interface GroupProps extends ShapePaint {
  children?: KuitoNode;
}

Membros 15

NomeTipoObrigatórioDescrição
childrenKuitoNodeNão—
fillstringNãoA hex color, or none; black by default.
fillRuleFillRuleNão—
strokestringNãoA hex color, or none, the default.
strokeWidthnumberNãoIn user units; 1 by default.
strokeLinecapStrokeLinecapNão—
strokeLinejoinStrokeLinejoinNão—
strokeMiterlimitnumberNão—
strokeDasharrayreadonly number[]NãoDash and gap lengths in user units, repeated.
strokeDashoffsetnumberNão—
opacitynumberNãoMultiplies with its Groups' opacity.
translateXnumberNãoIn user units, then rotate in degrees and scale, about the origin.
translateYnumberNão—
scalenumberNão—
rotatenumberNão—
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.