From 6d794fb76212bb8a62fe2cd97cff173054e1c626 Mon Sep 17 00:00:00 2001 From: Stanislav Karpov Date: Tue, 9 Jan 2018 19:15:04 +0300 Subject: Fixed #28960 -- Added GEOSGeometry.buffer_with_style(). --- docs/ref/contrib/gis/geos.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/ref') 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 -- cgit v1.3