Spec-Zone .ru
спецификации, руководства, описания, API

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

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: desktop

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

public impl_getImpl() : com.sun.scenario.effect.Effect
Returns
Effect
 

Inherited Functions

javafx.scene.effect.Effect

public getAccelType(config: java.lang.Object) : java.lang.String

Returns a String representing the type of hardware acceleration, if any, that is used when applying this Effect on the given GraphicsConfiguration.

Returns a String representing the type of hardware acceleration, if any, that is used when applying this Effect on the given GraphicsConfiguration. This method is intended for informational or debugging purposes only.

Parameters
config
Returns
String
 
public impl_add(node: Node) : Void
Parameters
node
 
public abstract impl_getImpl() : com.sun.scenario.effect.Effect
Returns
Effect
 
public impl_remove(node: Node) : Void
Parameters
node