Variable styleAttributesConst
Advanced
styleAttributes: {
fill: { default: number; type: string };
"fill-opacity": { default: number; type: string };
opacity: { default: number; type: string };
stroke: { default: number; type: string };
"stroke-dasharray": { default: string; type: string };
"stroke-dashoffset": { default: number; type: string };
"stroke-linecap": { default: string; type: string };
"stroke-linejoin": { default: string; type: string };
"stroke-miterlimit": { default: number; type: string };
"stroke-opacity": { default: number; type: string };
"stroke-width": { default: number; type: string };
} = ...
Type declaration
fill: { default: number; type: string }
fill-opacity: { default: number; type: string }
opacity: { default: number; type: string }
stroke: { default: number; type: string }
stroke-dasharray: { default: string; type: string }
stroke-dashoffset: { default: number; type: string }
stroke-linecap: { default: string; type: string }
stroke-linejoin: { default: string; type: string }
stroke-miterlimit: { default: number; type: string }
stroke-opacity: { default: number; type: string }
stroke-width: { default: number; type: string }
A map of SVG style attributes and their default values. Each attribute has a type and default value used for SVG parsing.