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