setBuffer abstract method
Method is used to specify the buffer size around the circle for collision detection.
width Width of the buffer in pixels. Default: 0.
height Height of the buffer in pixels. Default: 0.
Returns true if the operation is successful, false otherwise.
Example:
// Set collision buffer
bool bufferSuccess = _circleMapObject!.setBuffer(5.0, 5.0);
print("Set collision buffer to 5x5 pixels: $bufferSuccess");
Implementation
bool setBuffer(double width, double height);