nsISVGPaintContext.idl (895B)
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/. */ 5 6 #include "nsISupports.idl" 7 8 /* 9 * Used to set SVG context values when rendering SVG images outside of a DOM 10 * context. 11 */ 12 13 [scriptable, uuid(43966236-3146-4518-ab39-f938795cd1a1)] 14 interface nsISVGPaintContext : nsISupports 15 { 16 /** 17 * The fill color to use. Any CSS color value. 18 */ 19 readonly attribute ACString fillColor; 20 21 /** 22 * The stroke color to use. Any CSS color value. 23 */ 24 readonly attribute ACString strokeColor; 25 26 /** 27 * The fill opacity to use. 28 */ 29 readonly attribute float fillOpacity; 30 31 /** 32 * The stroke opacity to use. 33 */ 34 readonly attribute float strokeOpacity; 35 };