Skip to main content

Path

Path is a constant-width path along a centerline. Create one with path.

Fields

FieldTypeDescription
layerStringLayer name.
points[Point]Centerline points, in order.
xNFloatx coordinate of point N.
yNFloaty coordinate of point N.
widthFloatFull path width.
begin_extensionFloatHow far the path extends past its first point.
end_extensionFloatHow far the path extends past its last point.

Every numeric constructor argument has an initial-value form ending in i: widthi, begin_extensioni, x0i, and so on.