Copyright © 2021 by K4.org
  (v.0.48.124)

NOTE: This Design is obsolete, and should not be used in new projects. Use OffsetProfile instead. This will report usages as warnings, which can be suppressed by using it as a mixin in your own Design, and overriding the islands rule to remove the warning.

Creates an offset from a closed polygon. Note that the offset can create multiple results; each independent result is available in the array islands.

Index

Rules

arcSegments

arcSegments: Number

The number of segments to use when creating offsets of 'outside' corners. (No other types of outside corner treatment is available.) Low values can be quite 'ragged'.

Flags : Cached, Parameter (Note this is uncached)

Expression : 8

distance

distance: Number

The distance to offset. Negative numbers offset to the inside of a closed polygon.

Flags : Cached, Parameter (Note this is uncached)

Expression : 0

islands

islands: Array

An array of 'islands' which are distinct polygons resulting from the offset operation.

Flags : Cached (Note this is uncached)

Expression : R.message.warn('OffsetPolygon is obsolete.'); return R.offsetPoly(this.vertices, this.distance, this.arcSegments);

vertices

vertices: Array

An array of Points. The points are assumed to be coplanar. The first point does not need to be the same as the last point, but the points are assumed to define a simple closed polygon.

Flags : Cached, Required, Parameter (Note this is uncached)

Expression : ``