LightBurn uses the boundaries of shapes to turn the filling on and off. This post will help you better understand this concept.