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: desktop
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 |
Inherited Variables
Function Summary
- public impl_getImpl() : com.sun.scenario.effect.Effect
Inherited Functions
javafx.scene.effect.Effect
- public getAccelType(config: java.awt.GraphicsConfiguration) : java.lang.String
-
Returns a
String
representing the type of hardware acceleration, if any, that is used when applying thisEffect
on the givenGraphicsConfiguration
.Returns a
String
representing the type of hardware acceleration, if any, that is used when applying thisEffect
on the givenGraphicsConfiguration
. This method is intended for informational or debugging purposes only.-
Parameters
- config
-
Returns
- String
- public abstract impl_getImpl() : com.sun.scenario.effect.Effect