fill_circle#
- rlemasklib.RLEMask.fill_circle(center, radius, value=1, inplace=False)[source]#
Fill a circle in the mask.
- Parameters:
- Returns:
An RLEMask object with the circle filled (self if inplace=True)
- Return type:
Examples
Fill a circle onto an existing pattern:
.fill_circle([5, 2], radius=2, value=1) ==Clear a circle (value=0) from a filled mask:
.fill_circle([4, 2], radius=2, value=0) ==See also