Selection.fill

void fill (any fillType, ColorBlendMode mode, int opacity, bool preserveTransparency)

Parameters

fillType The color or history state with which to fill the object.
mode The color blend mode.
opacity The opacity as a percentage. Range: 1 to 100.
preserveTransparency If true, perserves transparencies.

Description

Fills the selection.