Variable: SvgTileLayout ​
ts
const SvgTileLayout: DefineComponent<ExtractPropTypes<{
backdrop: StringConstructor;
background: StringConstructor;
choose: PropType<"placement" | "shape">;
containWithin: PropType<"tile" | "visible">;
contentCells: PropType<ContentCells>;
fill: PropType<FillSource>;
fit: {
default: boolean;
type: PropType<FitProp>;
};
imageAlts: PropType<readonly string[]>;
imageAspects: PropType<readonly number[]>;
imageFit: PropType<"cover" | "contain">;
imageFocus: PropType<readonly (
| {
x: number;
y: number;
}
| undefined)[]>;
images: PropType<ImageSource>;
imageWeights: PropType<readonly number[]>;
layout: PropType<Layout>;
options: PropType<LayoutOptions>;
placement: PropType<ContentPlacement>;
precision: NumberConstructor;
relief: {
default: boolean;
type: PropType<boolean | ReliefOptions>;
};
repeatImages: BooleanConstructor;
stroke: StringConstructor;
strokeWidth: NumberConstructor;
title: StringConstructor;
}>, () =>
| string
| VNode<RendererNode, RendererElement, {
[key: string]: any;
}>, {
}, {
}, {
}, ComponentOptionsMixin, ComponentOptionsMixin, {
}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{
backdrop: StringConstructor;
background: StringConstructor;
choose: PropType<"placement" | "shape">;
containWithin: PropType<"tile" | "visible">;
contentCells: PropType<ContentCells>;
fill: PropType<FillSource>;
fit: {
default: boolean;
type: PropType<FitProp>;
};
imageAlts: PropType<readonly string[]>;
imageAspects: PropType<readonly number[]>;
imageFit: PropType<"cover" | "contain">;
imageFocus: PropType<readonly (
| {
x: number;
y: number;
}
| undefined)[]>;
images: PropType<ImageSource>;
imageWeights: PropType<readonly number[]>;
layout: PropType<Layout>;
options: PropType<LayoutOptions>;
placement: PropType<ContentPlacement>;
precision: NumberConstructor;
relief: {
default: boolean;
type: PropType<boolean | ReliefOptions>;
};
repeatImages: BooleanConstructor;
stroke: StringConstructor;
strokeWidth: NumberConstructor;
title: StringConstructor;
}>, {
}>, {
fit: FitProp;
relief: boolean | ReliefOptions;
repeatImages: boolean;
}, {
}, {
}, {
}, string, ComponentProvideOptions, true, {
}, any>;A tiling as a single <svg>: colored cells, optionally with images clipped to each cell. Use it for pure SVG (export, print, embedding in other SVG); use <TileLayout> for arbitrary content. Takes the options of renderToString from @andamento/svg as props.