public class Shadow extends Effect
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.Constructor and Description |
---|
Shadow()
Creates a new instance of Shadow with default parameters.
|
Shadow(BlurType blurType,
Color color,
double radius)
Creates a new instance of Shadow with the specified blurType, color,
radius.
|
Shadow(double radius,
Color color)
Creates a new instance of Shadow with specified radius and color.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<BlurType> |
blurTypeProperty() |
ObjectProperty<Color> |
colorProperty() |
BlurType |
getBlurType() |
Color |
getColor() |
double |
getHeight() |
Effect |
getInput() |
double |
getRadius() |
double |
getWidth() |
DoubleProperty |
heightProperty() |
Effect |
impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
BaseBounds |
impl_getBounds(BaseBounds bounds,
BaseTransform tx,
Node node,
BoundsAccessor boundsAccessor)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
ObjectProperty<Effect> |
inputProperty() |
DoubleProperty |
radiusProperty() |
void |
setBlurType(BlurType value) |
void |
setColor(Color value) |
void |
setHeight(double value) |
void |
setInput(Effect value) |
void |
setRadius(double value) |
void |
setWidth(double value) |
DoubleProperty |
widthProperty() |
impl_effectDirtyProperty, impl_getImpl, impl_isEffectDirty, impl_sync
public Shadow()
public Shadow(double radius, Color color)
radius
- the radius of the shadow blur kernelcolor
- the shadow Color
public final void setInput(Effect value)
public final Effect getInput()
public final ObjectProperty<Effect> inputProperty()
public final void setRadius(double value)
public final double getRadius()
public final DoubleProperty radiusProperty()
public final void setWidth(double value)
public final double getWidth()
public final DoubleProperty widthProperty()
public final void setHeight(double value)
public final double getHeight()
public final DoubleProperty heightProperty()
public final void setBlurType(BlurType value)
public final BlurType getBlurType()
public final ObjectProperty<BlurType> blurTypeProperty()
public final void setColor(Color value)
public final Color getColor()
public final ObjectProperty<Color> colorProperty()
@Deprecated public BaseBounds impl_getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
Effect
impl_getBounds
in class Effect
@Deprecated public Effect impl_copy()
Copyright © 2020. All rights reserved.