GeoBufferOptions Class

The options of GeoGeometry.Buffer.

public sealed class GeoBufferOptions

Constructors

NameDescription
GeoBufferOptions()

GeoBufferOptions()

GeoBufferOptions.cs
public GeoBufferOptions()

No documentation is available.

Properties

NameDescription
EndCapStyleGets or sets the shape of the buffer at the ends of the lines. The default is GeoBufferEndCapStyle.Round. The buffer of a point is a circle whatever the style.
JoinStyleGets or sets the shape of the buffer around the vertices where a line or a ring turns. The default is GeoBufferJoinStyle.Round.
MiterLimitGets or sets the largest distance between a vertex and the corner of a GeoBufferJoinStyle.Miter join, as a multiple of the distance of the buffer. The default is 5.
SegmentsPerQuarterCircleGets or sets the number of straight segments that make a quarter of a circle, for the circles around points and the round joins and ends. The default is 8.

Gets or sets the shape of the buffer at the ends of the lines. The default is GeoBufferEndCapStyle.Round. The buffer of a point is a circle whatever the style.

public GeoBufferEndCapStyle EndCapStyle { get; set; }

Property value

GeoBufferEndCapStyle

Gets or sets the shape of the buffer around the vertices where a line or a ring turns. The default is GeoBufferJoinStyle.Round.

public GeoBufferJoinStyle JoinStyle { get; set; }

Property value

GeoBufferJoinStyle

Gets or sets the largest distance between a vertex and the corner of a GeoBufferJoinStyle.Miter join, as a multiple of the distance of the buffer. The default is 5.

public double MiterLimit { get; set; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is less than 1, or not a finite number.

SegmentsPerQuarterCircle

GeoBufferOptions.cs

Gets or sets the number of straight segments that make a quarter of a circle, for the circles around points and the round joins and ends. The default is 8.

public int SegmentsPerQuarterCircle { get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is less than 1 or greater than 1,000.