setLineOffset method

Future<void> setLineOffset(
  1. double lineOffset
)

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset. Default value: 0. The unit of lineOffset is in pixels.

Implementation

Future<void> setLineOffset(double lineOffset) =>
    _annotationMessenger.setLineOffset(id, lineOffset);