Package | Description |
---|---|
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.canvas |
Provides the set of classes for canvas, an immediate mode style of rendering API.
|
javafx.scene.effect |
Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.
|
Modifier and Type | Method and Description |
---|---|
<E extends Effect> |
StyleablePropertyFactory.createEffectCssMetaData(String property,
Function<S,StyleableProperty<E>> function)
Create a CssMetaData<S, Effect> with initial value of null, and inherit flag defaulting to false.
|
<E extends Effect> |
StyleablePropertyFactory.createEffectCssMetaData(String property,
Function<S,StyleableProperty<E>> function,
E initialValue)
Create a CssMetaData<S, Effect> with initial value, and inherit flag defaulting to false.
|
<E extends Effect> |
StyleablePropertyFactory.createEffectCssMetaData(String property,
Function<S,StyleableProperty<E>> function,
E initialValue,
boolean inherits)
Create a CssMetaData<S, Effect> with initial value, and inherit flag.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<E>> function)
Create a StyleableProperty<Effect>.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<E>> function,
E initialValue)
Create a StyleableProperty<Effect> with initial value.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<E>> function,
E initialValue,
boolean inherits)
Create a StyleableProperty<Effect> with initial value and inherit flag.
|
Modifier and Type | Method and Description |
---|---|
StyleableProperty<Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
String propertyName,
String cssProperty)
Create a StyleableProperty<Effect> using previously created CssMetaData for the given
cssProperty . |
static StyleConverter<ParsedValue[],Effect> |
StyleConverter.getEffectConverter() |
Modifier and Type | Method and Description |
---|---|
Effect |
Node.getEffect()
Gets the value of the property effect.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Effect> |
Node.effectProperty()
Specifies an effect to apply to this
Node . |
Modifier and Type | Method and Description |
---|---|
void |
Node.setEffect(Effect value)
Sets the value of the property effect.
|
Modifier and Type | Method and Description |
---|---|
Effect |
GraphicsContext.getEffect(Effect e)
Gets a copy of the effect to be applied after the next draw call.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicsContext.applyEffect(Effect e)
Applies the given effect to the entire bounds of the canvas and stores
the result back into the same canvas.
|
Effect |
GraphicsContext.getEffect(Effect e)
Gets a copy of the effect to be applied after the next draw call.
|
void |
GraphicsContext.setEffect(Effect e)
Sets the effect to be applied after the next draw call, or null to
disable effects.
|
Modifier and Type | Class and Description |
---|---|
class |
Blend
An effect that blends the two inputs together using one of the
pre-defined
BlendMode s. |
class |
Bloom
A high-level effect that makes brighter portions of the input image
appear to glow, based on a configurable threshold.
|
class |
BoxBlur
A blur effect using a simple box filter kernel, with separately
configurable sizes in both dimensions, and an iteration parameter
that controls the quality of the resulting blur.
|
class |
ColorAdjust
An effect that allows for per-pixel adjustments of hue, saturation,
brightness, and contrast.
|
class |
ColorInput
An effect that renders a rectangular region that is filled ("flooded")
with the given
Paint . |
class |
DisplacementMap
An effect that shifts each pixel by a distance specified by
the first two bands of of the specified
FloatMap . |
class |
DropShadow
A high-level effect that renders a shadow of the given content behind
the content with the specified color, radius, and offset.
|
class |
GaussianBlur
A blur effect using a Gaussian convolution kernel, with a configurable
radius.
|
class |
Glow
A high-level effect that makes the input image appear to glow,
based on a configurable threshold.
|
class |
ImageInput
A type of source effect that simply passes the given
Image
through, unmodified, as an input to another Effect . |
class |
InnerShadow
A high-level effect that renders a shadow inside the edges of the
given content with the specified color, radius, and offset.
|
class |
Lighting
An effect that simulates a light source shining on the given content,
which can be used to give flat objects a more realistic, three-dimensional
appearance.
|
class |
MotionBlur
A motion blur effect using a Gaussian convolution kernel, with a
configurable radius and angle.
|
class |
PerspectiveTransform
An effect that provides non-affine transformation of the input content.
|
class |
Reflection
An effect that renders a reflected version of the input below the
actual input content.
|
class |
SepiaTone
A filter that produces a sepia tone effect, similar to antique photographs.
|
class |
Shadow
An effect which creates a monochrome duplicate of an input with
blurry edges.
|
Modifier and Type | Method and Description |
---|---|
Effect |
Blend.getBottomInput()
Gets the value of the property bottomInput.
|
Effect |
Lighting.getBumpInput()
Gets the value of the property bumpInput.
|
Effect |
Lighting.getContentInput()
Gets the value of the property contentInput.
|
Effect |
Bloom.getInput()
Gets the value of the property input.
|
Effect |
BoxBlur.getInput()
Gets the value of the property input.
|
Effect |
ColorAdjust.getInput()
Gets the value of the property input.
|
Effect |
DisplacementMap.getInput()
Gets the value of the property input.
|
Effect |
DropShadow.getInput()
Gets the value of the property input.
|
Effect |
GaussianBlur.getInput()
Gets the value of the property input.
|
Effect |
Glow.getInput()
Gets the value of the property input.
|
Effect |
InnerShadow.getInput()
Gets the value of the property input.
|
Effect |
MotionBlur.getInput()
Gets the value of the property input.
|
Effect |
PerspectiveTransform.getInput()
Gets the value of the property input.
|
Effect |
Reflection.getInput()
Gets the value of the property input.
|
Effect |
SepiaTone.getInput()
Gets the value of the property input.
|
Effect |
Shadow.getInput()
Gets the value of the property input.
|
Effect |
Blend.getTopInput()
Gets the value of the property topInput.
|
Effect |
Blend.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
Bloom.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
BoxBlur.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
ColorAdjust.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
ColorInput.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
DisplacementMap.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
DropShadow.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
abstract Effect |
Effect.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
GaussianBlur.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
Glow.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
ImageInput.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
InnerShadow.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
Lighting.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
MotionBlur.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
PerspectiveTransform.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
Reflection.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
SepiaTone.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
Shadow.impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Effect> |
Blend.bottomInputProperty()
The bottom input for this
Blend operation. |
ObjectProperty<Effect> |
Lighting.bumpInputProperty()
The optional bump map input.
|
ObjectProperty<Effect> |
Lighting.contentInputProperty()
The content input for this
Effect . |
ObjectProperty<Effect> |
Bloom.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
BoxBlur.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
ColorAdjust.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
DisplacementMap.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
DropShadow.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
GaussianBlur.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
Glow.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
InnerShadow.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
MotionBlur.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
PerspectiveTransform.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
Reflection.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
SepiaTone.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
Shadow.inputProperty()
The input for this
Effect . |
ObjectProperty<Effect> |
Blend.topInputProperty()
The top input for this
Blend operation. |
Modifier and Type | Method and Description |
---|---|
void |
Blend.setBottomInput(Effect value)
Sets the value of the property bottomInput.
|
void |
Lighting.setBumpInput(Effect value)
Sets the value of the property bumpInput.
|
void |
Lighting.setContentInput(Effect value)
Sets the value of the property contentInput.
|
void |
Bloom.setInput(Effect value)
Sets the value of the property input.
|
void |
BoxBlur.setInput(Effect value)
Sets the value of the property input.
|
void |
ColorAdjust.setInput(Effect value)
Sets the value of the property input.
|
void |
DisplacementMap.setInput(Effect value)
Sets the value of the property input.
|
void |
DropShadow.setInput(Effect value)
Sets the value of the property input.
|
void |
GaussianBlur.setInput(Effect value)
Sets the value of the property input.
|
void |
Glow.setInput(Effect value)
Sets the value of the property input.
|
void |
InnerShadow.setInput(Effect value)
Sets the value of the property input.
|
void |
MotionBlur.setInput(Effect value)
Sets the value of the property input.
|
void |
PerspectiveTransform.setInput(Effect value)
Sets the value of the property input.
|
void |
Reflection.setInput(Effect value)
Sets the value of the property input.
|
void |
SepiaTone.setInput(Effect value)
Sets the value of the property input.
|
void |
Shadow.setInput(Effect value)
Sets the value of the property input.
|
void |
Blend.setTopInput(Effect value)
Sets the value of the property topInput.
|
Constructor and Description |
---|
Blend(BlendMode mode,
Effect bottomInput,
Effect topInput)
Creates a new instance of Blend with the specified mode and bottom
and top inputs.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.