Paint. This is equivalent to rendering a
filled rectangle into an image and using an ImageInput effect,
except that it is more convenient and potentially much more efficient.
| Modifier and Type | Field and Description |
|---|---|
| private DoubleProperty | height
Sets the height of the region to be flooded, relative to the
local coordinate space of the content |
| private ObjectProperty | paint
The |
| private DoubleProperty | width
Sets the width of the region to be flooded, relative to the
local coordinate space of the content |
| private DoubleProperty | x
Sets the x location of the region to be flooded, relative to the
local coordinate space of the content |
| private DoubleProperty | y
Sets the y location of the region to be flooded, relative to the
local coordinate space of the content |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ColorInput(double
the x location of the region to be flooded x, double the y location of the region to be flooded y, double the width of the region to be flooded width, double the height of the region to be flooded height, Paint the paint)Paint used to flood the regionCreates a new instance of ColorInput with the specified x, y, width, height, and paint. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv Effect | |
| pack-priv Flood | |
| pack-priv BaseBounds | getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
Implements abstract javafx. Returns bounds of given node with applied effect. |
| public final double | |
| public final Paint | |
| private Paint | |
| public final double | |
| public final double | |
| public final double | |
| public final DoubleProperty | |
| public final ObjectProperty | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| pack-priv void | |
| public final DoubleProperty | |
| public final DoubleProperty | |
| public final DoubleProperty |
| height | back to summary |
|---|---|
| private DoubleProperty height 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.0
| |
| paint | back to summary |
|---|---|
| private ObjectProperty<Paint> paint The
Min: n/a
Max: n/a
Default: Color.RED
Identity: n/a
| |
| width | back to summary |
|---|---|
| private DoubleProperty width 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.0
| |
| x | back to summary |
|---|---|
| private DoubleProperty x 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.0
| |
| y | back to summary |
|---|---|
| private DoubleProperty y 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.0
| |
| ColorInput | back to summary |
|---|---|
| public ColorInput() Creates a new instance of ColorInput with default parameters. | |
| ColorInput | back to summary |
|---|---|
| public ColorInput(double x, double y, double width, double height, Paint paint) Creates a new instance of ColorInput with the specified x, y, width, height, and paint.
| |
| checkChainContains | back to summary |
|---|---|
| pack-priv boolean checkChainContains(Effect e) Implements abstract javafx.
| |
| copy | back to summary |
|---|---|
| pack-priv Effect copy() Implements abstract javafx.
| |
| createPeer | back to summary |
|---|---|
| pack-priv Flood createPeer() Implements abstract javafx.
| |
| getBounds | back to summary |
|---|---|
| pack-priv BaseBounds getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor) Implements abstract javafx. Doc from javafx. Returns bounds of given node with applied effect. We *never* pass null in as a bounds. This method will NOT take a null bounds object. The returned value may be the same bounds object passed in, or it may be a new object.
| |
| getHeight | back to summary |
|---|---|
| public final double getHeight() | |
| getPaint | back to summary |
|---|---|
| public final Paint getPaint() | |
| getPaintInternal | back to summary |
|---|---|
| private Paint getPaintInternal() | |
| getWidth | back to summary |
|---|---|
| public final double getWidth() | |
| getX | back to summary |
|---|---|
| public final double getX() | |
| getY | back to summary |
|---|---|
| public final double getY() | |
| heightProperty | back to summary |
|---|---|
| public final DoubleProperty heightProperty() | |
| paintProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| setHeight | back to summary |
|---|---|
| public final void setHeight(double value) | |
| setPaint | back to summary |
|---|---|
| public final void setPaint(Paint value) | |
| setWidth | back to summary |
|---|---|
| public final void setWidth(double value) | |
| setX | back to summary |
|---|---|
| public final void setX(double value) | |
| setY | back to summary |
|---|---|
| public final void setY(double value) | |
| update | back to summary |
|---|---|
| pack-priv void update() Implements abstract javafx.
| |
| widthProperty | back to summary |
|---|---|
| public final DoubleProperty widthProperty() | |
| xProperty | back to summary |
|---|---|
| public final DoubleProperty xProperty() | |
| yProperty | back to summary |
|---|---|
| public final DoubleProperty yProperty() | |