DropShadow effect is a utility effect which automatically
combines this Shadow effect with an original graphic for ease
of adding a shadow to an existing scene graph Node with a
single effect.
| Modifier and Type | Field and Description |
|---|---|
| private ObjectProperty | blurType
The algorithm used to blur the shadow. |
| private boolean | |
| private ObjectProperty | color
The shadow |
| private DoubleProperty | height
The vertical size of the shadow blur kernel. |
| private ObjectProperty | input
The input for this |
| private DoubleProperty | radius
The radius of the shadow blur kernel. |
| private DoubleProperty | width
The horizontal size of the shadow blur kernel. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | |
| pack-priv boolean | |
| public final ObjectProperty | |
| pack-priv Effect | |
| pack-priv GeneralShadow | |
| public final BlurType | |
| private BlurType | |
| pack-priv BaseBounds | getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
Implements abstract javafx. Returns bounds of given node with applied effect. |
| private float | |
| private float | |
| public final Color | |
| private Color | |
| public final double | |
| public final Effect | |
| public final double | |
| public final double | |
| public final DoubleProperty | |
| public final ObjectProperty | |
| public final DoubleProperty | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| public final DoubleProperty |
| blurType | back to summary |
|---|---|
| private ObjectProperty<BlurType> blurType The algorithm used to blur the shadow.
Min: n/a
Max: n/a
Default: BlurType.THREE_PASS_BOX
Identity: n/a
| |
| changeIsLocal | back to summary |
|---|---|
| private boolean changeIsLocal | |
| color | back to summary |
|---|---|
| private ObjectProperty<Color> color The shadow
Min: n/a
Max: n/a
Default: Color.BLACK
Identity: n/a
| |
| height | back to summary |
|---|---|
| private DoubleProperty height The vertical size of the shadow blur kernel.
This attribute controls the vertical size of the total area over
which the shadow of a single pixel is distributed by the blur algorithm.
Values less than
Min: 0.0
Max: 255.0
Default: 21.0
Identity: <1.0
| |
| input | back to summary |
|---|---|
| private ObjectProperty<Effect> input The input for this
| |
| radius | back to summary |
|---|---|
| private DoubleProperty radius The radius of the shadow blur kernel.
This attribute controls the distance that the shadow is spread
to each side of the source pixels.
Setting the radius is equivalent to setting both the
Min: 0.0
Max: 127.0
Default: 10.0
Identity: 0.0
| |
| width | back to summary |
|---|---|
| private DoubleProperty width The horizontal size of the shadow blur kernel.
This attribute controls the horizontal size of the total area over
which the shadow of a single pixel is distributed by the blur algorithm.
Values less than
Min: 0.0
Max: 255.0
Default: 21.0
Identity: <1.0
| |
| Shadow | back to summary |
|---|---|
| public Shadow() Creates a new instance of Shadow with default parameters. | |
| Shadow | back to summary |
|---|---|
| public Shadow(double radius, Color color) Creates a new instance of Shadow with specified radius and color.
| |
| Shadow | back to summary |
|---|---|
| public Shadow(BlurType blurType, Color color, double radius) Creates a new instance of Shadow with the specified blurType, color, radius. | |
| blurTypeProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| checkChainContains | back to summary |
|---|---|
| pack-priv boolean checkChainContains(Effect e) Implements abstract javafx.
| |
| colorProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| copy | back to summary |
|---|---|
| pack-priv Effect copy() Implements abstract javafx.
| |
| createPeer | back to summary |
|---|---|
| pack-priv GeneralShadow createPeer() Implements abstract javafx.
| |
| getBlurType | back to summary |
|---|---|
| public final BlurType getBlurType() | |
| getBlurTypeInternal | back to summary |
|---|---|
| private BlurType getBlurTypeInternal() | |
| 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.
| |
| getClampedHeight | back to summary |
|---|---|
| private float getClampedHeight() | |
| getClampedWidth | back to summary |
|---|---|
| private float getClampedWidth() | |
| getColor | back to summary |
|---|---|
| public final Color getColor() | |
| getColorInternal | back to summary |
|---|---|
| private Color getColorInternal() | |
| getHeight | back to summary |
|---|---|
| public final double getHeight() | |
| getInput | back to summary |
|---|---|
| public final Effect getInput() | |
| getRadius | back to summary |
|---|---|
| public final double getRadius() | |
| getWidth | back to summary |
|---|---|
| public final double getWidth() | |
| heightProperty | back to summary |
|---|---|
| public final DoubleProperty heightProperty() | |
| inputProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| radiusProperty | back to summary |
|---|---|
| public final DoubleProperty radiusProperty() | |
| setBlurType | back to summary |
|---|---|
| public final void setBlurType(BlurType value) | |
| setColor | back to summary |
|---|---|
| public final void setColor(Color value) | |
| setHeight | back to summary |
|---|---|
| public final void setHeight(double value) | |
| setInput | back to summary |
|---|---|
| public final void setInput(Effect value) | |
| setRadius | back to summary |
|---|---|
| public final void setRadius(double value) | |
| setWidth | back to summary |
|---|---|
| public final void setWidth(double value) | |
| update | back to summary |
|---|---|
| pack-priv void update() Implements abstract javafx.
| |
| updateHeight | back to summary |
|---|---|
| private void updateHeight(double value) | |
| updateRadius | back to summary |
|---|---|
| private void updateRadius(double value) | |
| updateWidth | back to summary |
|---|---|
| private void updateWidth(double value) | |
| widthProperty | back to summary |
|---|---|
| public final DoubleProperty widthProperty() | |