OptionalalphaSamples only the texture alpha. Colored sources such as text need this because their RGB channels describe the fill color rather than the mask strength.
OptionalidOptionalinvertedInverts the mask (alpha becomes 1 - alpha): the target shows where the mask is empty and is cut out where the mask is opaque.
Optionalwrap
Options used to construct a
MaskFilter.