summaryrefslogtreecommitdiffstats
path: root/src/extension/dbus/document-interface.xml
diff options
context:
space:
mode:
authorSoren Berg <glimmer07@gmail.com>2009-07-23 16:41:13 +0000
committerglimmer07 <glimmer07@users.sourceforge.net>2009-07-23 16:41:13 +0000
commit3924d56a36693270a4e543f076c653f9ceaec355 (patch)
treee230d54c8e406ae427ed6371d699cf662c950753 /src/extension/dbus/document-interface.xml
parentExperimental pause updating scheme. (diff)
downloadinkscape-3924d56a36693270a4e543f076c653f9ceaec355.tar.gz
inkscape-3924d56a36693270a4e543f076c653f9ceaec355.zip
Added set_color function.
(bzr r8254.1.21)
Diffstat (limited to 'src/extension/dbus/document-interface.xml')
-rw-r--r--src/extension/dbus/document-interface.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml
index 7c16c6d1e..3ccae9556 100644
--- a/src/extension/dbus/document-interface.xml
+++ b/src/extension/dbus/document-interface.xml
@@ -665,6 +665,40 @@
<doc:seealso><doc:ref type="interface" to="Style Strings">Style Strings</doc:ref></doc:seealso>
</doc:doc>
</method>
+
+ <method name="set_color">
+ <arg type="s" name="shape" direction="in" >
+ <doc:doc>
+ <doc:summary>Any object, or 'document' to apply to document style.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="i" name="red" direction="in" >
+ <doc:doc>
+ <doc:summary>The red component.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="i" name="green" direction="in" >
+ <doc:doc>
+ <doc:summary>The green component.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="i" name="blue" direction="in" >
+ <doc:doc>
+ <doc:summary>The blue component.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="b" name="fill" direction="in" >
+ <doc:doc>
+ <doc:summary>True to change fill color, false for stroke color.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Modifies the fill or stroke color of an object (or the document style) based on RGB values.</doc:para>
+ <doc:para>Red green and blue must be between 0-255 inclusive.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
<method name="move_to_layer">
<arg type="s" name="objectname" direction="in" >