setOffset abstract method

bool setOffset(
  1. double width,
  2. double height
)

Method is used to specify an offset for the circle’s position. width Horizontal offset in pixels. height Vertical offset in pixels. Returns true if the operation is successful, false otherwise.

Example:

// Set position offset
bool offsetSuccess = _circleMapObject!.setOffset(2.0, 3.0);
print("Set position offset to (2.0, 3.0) pixels: $offsetSuccess");

Implementation

bool setOffset(double width, double height);