Typedoc API Docs
    Preparing search index...

    Type Alias SVGStyleProps

    type SVGStyleProps = {
        fill?: Color;
        fillOpacity?: number;
        stroke?: Color;
        strokeWidth?: number;
        strokeOpacity?: number;
        strokeLinecap?: TStrokeLineCap;
        strokeLinejoin?: TStrokeLineJoin;
        strokeDasharray?: string | number[];
        strokeDashoffset?: number;
        opacity?: number;
        transform?: string;
        visibility?: TVisibility;
        display?: TDisplay;
        specifiedStyle?: Partial<Record<keyof SVGStyleProps | "fillRule", boolean>>;
    }
    Index

    Properties

    fill?: Color
    fillOpacity?: number

    decimal number from 0 to 1

    stroke?: Color
    strokeWidth?: number
    strokeOpacity?: number
    strokeLinecap?: TStrokeLineCap
    strokeLinejoin?: TStrokeLineJoin
    strokeDasharray?: string | number[]
    strokeDashoffset?: number
    opacity?: number

    decimal number from 0 to 1

    transform?: string
    visibility?: TVisibility
    display?: TDisplay
    specifiedStyle?: Partial<Record<keyof SVGStyleProps | "fillRule", boolean>>

    Internal metadata used by the scene resolver to distinguish inherited styles from parser defaults while preserving the older parsed shape API.