GroupProps
Props of Group: the paint and transform its shapes share, and the shapes.
Verwendung
Transform several drawing shapes together.
Dieser Typ wird verwendet von Group
// 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>;Typdeklaration
export interface GroupProps extends ShapePaint {
children?: KuitoNode;
}Mitglieder 15
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
children | KuitoNode | Nein | — |
fill | string | Nein | A hex color, or none; black by default. |
fillRule | FillRule | Nein | — |
stroke | string | Nein | A hex color, or none, the default. |
strokeWidth | number | Nein | In user units; 1 by default. |
strokeLinecap | StrokeLinecap | Nein | — |
strokeLinejoin | StrokeLinejoin | Nein | — |
strokeMiterlimit | number | Nein | — |
strokeDasharray | readonly number[] | Nein | Dash and gap lengths in user units, repeated. |
strokeDashoffset | number | Nein | — |
opacity | number | Nein | Multiplies with its Groups' opacity. |
translateX | number | Nein | In user units, then rotate in degrees and scale, about the origin. |
translateY | number | Nein | — |
scale | number | Nein | — |
rotate | number | Nein | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.