summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorStanislav Karpov <stkrp@yandex.ru>2018-01-09 19:15:04 +0300
committerTim Graham <timograham@gmail.com>2018-02-10 19:45:58 -0500
commit6d794fb76212bb8a62fe2cd97cff173054e1c626 (patch)
treea947f691b5c831f64b2759a46100c7e046df88dd /docs/ref
parent2162f0983de0dfe2178531638ce7ea56f54dd4e7 (diff)
Fixed #28960 -- Added GEOSGeometry.buffer_with_style().
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/geos.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index 6334f76598..e79e621239 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -496,6 +496,16 @@ Topological Methods
optional ``quadsegs`` keyword sets the number of segments used to
approximate a quarter circle (defaults is 8).
+.. method:: GEOSGeometry.buffer_with_style(width, quadsegs=8, end_cap_style=1, join_style=1, mitre_limit=5.0)
+
+ .. versionadded:: 2.1
+
+ Same as :meth:`buffer`, but allows customizing the style of the buffer.
+
+ * ``end_cap_style`` can be round (``1``), flat (``2``), or square (``3``).
+ * ``join_style`` can be round (``1``), mitre (``2``), or bevel (``3``).
+ * Mitre ratio limit (``mitre_limit``) only affects mitered join style.
+
.. method:: GEOSGeometry.difference(other)
Returns a :class:`GEOSGeometry` representing the points making up this