Spec-Zone .ru
спецификации, руководства, описания, API
|
public class ColorInput extends Effect
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.Type | Property and Description |
---|---|
DoubleProperty |
height
Sets the height of the region to be flooded, relative to the
local coordinate space of the content
Node . |
ObjectProperty<Paint> |
paint
The
Paint used to flood the region. |
DoubleProperty |
width
Sets the width of the region to be flooded, relative to the
local coordinate space of the content
Node . |
DoubleProperty |
x
Sets the x location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
DoubleProperty |
y
Sets the y location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
Constructor and Description |
---|
ColorInput() |
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Sets the height of the region to be flooded, relative to the
local coordinate space of the content
Node . |
Paint |
getPaint()
The
Paint used to flood the region. |
double |
getWidth()
Sets the width of the region to be flooded, relative to the
local coordinate space of the content
Node . |
double |
getX()
Sets the x location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
double |
getY()
Sets the y location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
DoubleProperty |
heightProperty()
Sets the height of the region to be flooded, relative to the
local coordinate space of the content
Node . |
ObjectProperty<Paint> |
paintProperty()
The
Paint used to flood the region. |
void |
setHeight(double value)
Sets the height of the region to be flooded, relative to the
local coordinate space of the content
Node . |
void |
setPaint(Paint value)
The
Paint used to flood the region. |
void |
setWidth(double value)
Sets the width of the region to be flooded, relative to the
local coordinate space of the content
Node . |
void |
setX(double value)
Sets the x location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
void |
setY(double value)
Sets the y location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
DoubleProperty |
widthProperty()
Sets the width of the region to be flooded, relative to the
local coordinate space of the content
Node . |
DoubleProperty |
xProperty()
Sets the x location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
DoubleProperty |
yProperty()
Sets the y location of the region to be flooded, relative to the
local coordinate space of the content
Node . |
Paint
used to flood the region.
Min: n/a Max: n/a Default: Color.RED Identity: n/a
getPaint()
,
setPaint(Paint)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getX()
,
setX(double)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getY()
,
setY(double)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getWidth()
,
setWidth(double)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getHeight()
,
setHeight(double)
public final void setPaint(Paint value)
Paint
used to flood the region.
Min: n/a Max: n/a Default: Color.RED Identity: n/a
public final Paint getPaint()
Paint
used to flood the region.
Min: n/a Max: n/a Default: Color.RED Identity: n/a
public final ObjectProperty<Paint> paintProperty()
Paint
used to flood the region.
Min: n/a Max: n/a Default: Color.RED Identity: n/a
getPaint()
,
setPaint(Paint)
public final void setX(double value)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final double getX()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final DoubleProperty xProperty()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getX()
,
setX(double)
public final void setY(double value)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final double getY()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final DoubleProperty yProperty()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getY()
,
setY(double)
public final void setWidth(double value)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final double getWidth()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final DoubleProperty widthProperty()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getWidth()
,
setWidth(double)
public final void setHeight(double value)
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final double getHeight()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public final DoubleProperty heightProperty()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getHeight()
,
setHeight(double)
Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to