[mapserver-commits] r11523 - trunk/docs/en/mapfile
svn at osgeo.org
svn at osgeo.org
Mon Apr 11 10:02:49 EDT 2011
Author: tbonfort
Date: 2011-04-11 07:02:49 -0700 (Mon, 11 Apr 2011)
New Revision: 11523
Modified:
trunk/docs/en/mapfile/label.txt
Log:
add doc for shadowsize binding (#2924)
Modified: trunk/docs/en/mapfile/label.txt
===================================================================
--- trunk/docs/en/mapfile/label.txt 2011-04-11 13:15:00 UTC (rev 11522)
+++ trunk/docs/en/mapfile/label.txt 2011-04-11 14:02:49 UTC (rev 11523)
@@ -214,11 +214,23 @@
The associated RFC document for this feature is :ref:`RFC57`.
SHADOWCOLOR [r] [g] [b]
- Color of drop shadow.
+ Color of drop shadow. An label with the same text will be rendered in this
+ color before the main label is drawn, resulting in a shadow effect on the the
+ label characters. The offset of the renderered shadow is set with SHADOWSIZE.
-SHADOWSIZE [x][y]
- Shadow offset in pixels.
+SHADOWSIZE [x][y]|[attribute][attribute]|[x][attribute]|[attribute][y]
+ Shadow offset in pixels, see SHADOWCOLOR.
+ [*Attribute*] was introduced in version 6.0, and can be used like:
+
+ .. code-block:: mapfile
+
+ SHADOWSIZE 2 2
+ SHADOWSIZE [shadowsizeX] 2
+ SHADOWSIZE 2 [shadowsizeY]
+ SHADOWSIZE [shadowsize] [shadowsize]
+
+
SIZE [double]|[tiny|small|medium|large|giant]|[attribute]
- Text size. Use "integer" to give the size in pixels of your TrueType font
based label, or any of the other 5 listed keywords to bitmap fonts.
More information about the mapserver-commits
mailing list