JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

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

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicheightNumber0.0

Sets the height of the region to be flooded, relative to the local coordinate space of the content Node.

Sets the height of the region to be flooded, relative to the local coordinate space of the content Node.

       Min: n/a
       Max: n/a
   Default: 0.0
  Identity: 0.0
 

0.0  
publicpaintPaintRED

The Paint used to flood the region.

The Paint used to flood the region.

       Min: n/a
       Max: n/a
   Default: Color.RED
  Identity: n/a
 

RED  
publicwidthNumber0.0

Sets the width of the region to be flooded, relative to the local coordinate space of the content Node.

Sets the width of the region to be flooded, relative to the local coordinate space of the content Node.

       Min: n/a
       Max: n/a
   Default: 0.0
  Identity: 0.0
 

0.0  
publicxNumber0.0

Sets the x location of the region to be flooded, relative to the local coordinate space of the content Node.

Sets the x location of the region to be flooded, relative to the local coordinate space of the content Node.

       Min: n/a
       Max: n/a
   Default: 0.0
  Identity: 0.0
 

0.0  
publicyNumber0.0

Sets the y location of the region to be flooded, relative to the local coordinate space of the content Node.

Sets the y location of the region to be flooded, relative to the local coordinate space of the content Node.

       Min: n/a
       Max: n/a
   Default: 0.0
  Identity: 0.0
 

0.0  

Inherited Variables

Function Summary

Inherited Functions

javafx.scene.effect.Effect