Overview
An effect that renders a rectangular region that is filled ("flooded")
with the given Paint
. This is equivalent to rendering a
filled rectangle into an image and using an Identity
effect,
except that it is more convenient and potentially much more efficient.
Profile: common conditional effect
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | height | Number | ![]() | ![]() | ![]() | 0.0 |
Sets the height of the region to be flooded, relative to the
local coordinate space of the content ![]() Sets the height of the region to be flooded, relative to the
local coordinate space of the content Min: n/a Max: n/a Default: 0.0 Identity: 0.00.0 |
public | paint | Paint | ![]() | ![]() | ![]() | RED |
The ![]() The Min: n/a Max: n/a Default: Color.RED Identity: n/aRED |
public | width | Number | ![]() | ![]() | ![]() | 0.0 |
Sets the width of the region to be flooded, relative to the
local coordinate space of the content ![]() Sets the width of the region to be flooded, relative to the
local coordinate space of the content Min: n/a Max: n/a Default: 0.0 Identity: 0.00.0 |
public | x | Number | ![]() | ![]() | ![]() | 0.0 |
Sets the x location of the region to be flooded, relative to the
local coordinate space of the content ![]() Sets the x location of the region to be flooded, relative to the
local coordinate space of the content Min: n/a Max: n/a Default: 0.0 Identity: 0.00.0 |
public | y | Number | ![]() | ![]() | ![]() | 0.0 |
Sets the y location of the region to be flooded, relative to the
local coordinate space of the content ![]() Sets the y location of the region to be flooded, relative to the
local coordinate space of the content Min: n/a Max: n/a Default: 0.0 Identity: 0.00.0 |