- paint
- Documentation for this section has not yet been entered.
- dx
- Documentation for this section has not yet been entered.
- dy
- Documentation for this section has not yet been entered.
Add a new layer (above any previous layers) to the rasterizer. The layer will extract those fields that affect the mask from the specified paint, but will not retain a reference to the paint object itself, so it may be reused without danger of side-effects.