r22214 by gpittman -
scribus-commit
scribus-commit at lists.scribus.net
Thu Nov 2 13:47:33 UTC 2017
Author: gpittman
Date: Thu Nov 2 13:47:33 2017
New Revision: 22214
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22214
Log:
fixed wording of manual Scripter info on setFillTransparency()
Modified:
trunk/Scribus/doc/en/scripterapi-setobjprop.html
Modified: trunk/Scribus/doc/en/scripterapi-setobjprop.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22214&path=/trunk/Scribus/doc/en/scripterapi-setobjprop.html
==============================================================================
--- trunk/Scribus/doc/en/scripterapi-setobjprop.html (original)
+++ trunk/Scribus/doc/en/scripterapi-setobjprop.html Thu Nov 2 13:47:33 2017
@@ -42,7 +42,7 @@
<dt><a name="-setFillTransparency"><strong>setFillTransparency</strong>(...)</a></dt>
<dd><code>setFillTransparency(transparency, ["name"])</code>
-<p>Sets the fill transparency of the object "name" to transparency is the name of one of the defined colors. If "name" is not given the currently selected item is used.</p></dd>
+<p>Sets the fill transparency of the object "name". If "name" is not given the currently selected item is used. In spite of this command's wording, the "transparency" value is actually a decimal corresponding to the <strong>opacity</strong>, so for example, 0.9 = 90% opacity, 0.2 = 20% opacity.</p></dd>
<dt><a name="-setLineBlendmode"><strong>setLineBlendmode</strong>(...)</a></dt>
<dd><code>setLineBlendmode(blendmode, ["name"])</code>
@@ -50,7 +50,7 @@
<dt><a name="-setLineTransparency"><strong>setLineTransparency</strong>(...)</a></dt>
<dd><code>setLineTransparency(transparency, ["name"])</code>
-<p>Sets the line transparency of the object "name" to transparency is the name of one of the defined colors. If "name" is not given the currently selected item is used.</p></dd>
+<p>Sets the line transparency of the object "name". If "name" is not given the currently selected item is used. In spite of this command's wording, the "transparency" value is actually a decimal corresponding to the <strong>opacity</strong>, so for example, 0.9 = 90% opacity, 0.2 = 20% opacity.</p></dd>
<dt><a name="-setGradientFill"><strong>setGradientFill</strong></a>(...)</dt>
<dd><code>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])</code>
More information about the scribus-commit
mailing list