Skip to main content

BufferOptions

Options for buffer.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { BufferOptions } from "@mapcairn/core";

interface BufferOptions

Properties​

steps​

readonly steps?: number;

How many segments approximate each quarter of a round corner or end cap. A whole number from 1 to 1000. Default 8, so a point's buffer is a 32-sided ring.

Source: packages/core/src/geometry/operations.ts:17