KC's Workspace
    Preparing search index...
    SVGPaint:
        | { fallback?: SVGPaintFallback
        | null; type: "url"; url: Url }
        | { type: "color"; value: CssColor }
        | { type: "context-fill" }
        | { type: "context-stroke" }
        | { type: "none" }

    An SVG <paint> value used in the fill and stroke properties.

    Type Declaration

    • { fallback?: SVGPaintFallback | null; type: "url"; url: Url }
      • Optionalfallback?: SVGPaintFallback | null

        A fallback to be used used in case the paint server cannot be resolved.

      • type: "url"
      • url: Url

        The url of the paint server.

    • { type: "color"; value: CssColor }
    • { type: "context-fill" }
    • { type: "context-stroke" }
    • { type: "none" }