Files
tubestation/layout/base/nsISVGPaintContext.idl
Dave Townsend 995431631f Bug 1920468: Support badging the dock icon with an arbritrary image. r=spohl,jwatt
This also adds a way to set the SVG context for the image as it is rendered outside
the DOM

Differential Revision: https://phabricator.services.mozilla.com/D223118
2024-10-09 15:03:05 +00:00

36 lines
895 B
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
/*
* Used to set SVG context values when rendering SVG images outside of a DOM
* context.
*/
[scriptable, uuid(43966236-3146-4518-ab39-f938795cd1a1)]
interface nsISVGPaintContext : nsISupports
{
/**
* The fill color to use. Any CSS color value.
*/
readonly attribute ACString fillColor;
/**
* The stroke color to use. Any CSS color value.
*/
readonly attribute ACString strokeColor;
/**
* The fill opacity to use.
*/
readonly attribute float fillOpacity;
/**
* The stroke opacity to use.
*/
readonly attribute float strokeOpacity;
};