[mapserver-commits] r12727 - trunk/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Mon Oct 31 03:58:26 EDT 2011


Author: havatv
Date: 2011-10-31 00:58:26 -0700 (Mon, 31 Oct 2011)
New Revision: 12727

Modified:
   trunk/docs/en/mapfile/style.txt
Log:
Documentation of the support for PATTERN on the lines of hatch fills (#4061)

Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt	2011-10-30 22:59:35 UTC (rev 12726)
+++ trunk/docs/en/mapfile/style.txt	2011-10-31 07:58:26 UTC (rev 12727)
@@ -351,15 +351,18 @@
    pair: STYLE; PATTERN
 
 PATTERN [double on] [double off] [double on] [double off] ... END
-    Currently used to defines a dash pattern for line work (lines,
-    polygon outlines, ...).  The numbers (doubles) specify the lengths
-    of the dashes and gaps of the dash pattern in layer `SIZEUNITS`.
-
+    Currently used to define a dash pattern for line work (lines,
+    polygon outlines, hatch lines, ...).  The numbers (doubles)
+    specify the lengths of the dashes and gaps of the dash pattern in
+    layer `SIZEUNITS`.
     When scaling of symbols is in effect (`SYMBOLSCALEDENOM` is
     specified for the :ref:`LAYER`), the numbers specify the lengths
     of the dashes and gaps in layer `SIZEUNITS` at the map scale
     1:`SYMBOLSCALEDENOM`.
 
+    `LINECAP`, `LINEJOIN` and `LINEJOINMAXSIZE` can be used to control
+    the appearance of the dashed lines.
+
     To specify a dashed line that is 5 units wide, with dash lengths
     of 5 units and gaps of 5 units, the following style can be used:
 
@@ -372,6 +375,10 @@
           PATTERN 5.0 5.0 END
         END
 
+    Since version 6.2, `PATTERN` can be used to create dashed lines in
+    :ref:`symbol`\s of `TYPE` `hatch`.  Patterns in hatches are always
+    drawn with `LINECAP` `butt`.
+
     .. versionadded:: 6.0 moved from :ref:`SYMBOL`
 
 .. index::



More information about the mapserver-commits mailing list