GBlurFilter class
A filter that applies a blur effect to the content.
- Inheritance
-
- Object
- GBaseFilter
- GBlurFilter
- Available Extensions
Constructors
- GBlurFilter([double blurX = 0, double blurY = 0])
- Creates a new GBlurFilter with the given blur values.
Properties
- blurX ↔ double
-
Returns the value of
_blurX
.getter/setter pair - blurY ↔ double
-
Returns the value of
_blurY
.getter/setter pair - currentObject ↔ GDisplayObject?
-
The currentObject property holds a reference to the display object that
the filter is applied to. OutlineFilter uses this to adjust the filter
size to the current object scale.
getter/setter pairinherited
- dirty ↔ bool
-
The dirty property is used to determine if the filter needs to be
rebuilt.
getter/setter pairinherited
- filterRect → GRect
-
Returns the filter's rectangle.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
Checks if the filter has any effect to apply.
no setteroverride
- layerBounds ↔ GRect?
-
The layerBounds property holds the bounds of the display object.
getter/setter pairinherited
- maskSigma ↔ double
-
The standard deviation of the Gaussian blur mask filter.
When it's -1 it will autodetect from blur.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ BlurStyle
-
The type of the ui.BlurStyle blur.
getter/setter pair
Methods
-
buildFilter(
) → void -
Builds the mask filter and image filter for the blur effect.
override
-
expandBounds(
GRect layerBounds, GRect outputBounds) → void -
Expands the filter's bounds to include the blur effect.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePaint(
Paint paint) → void -
Sets the paint's filter quality, image filter, and mask filter for the
blur effect.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void -
The update method is called to check if the filter needs to be rebuilt.
If the dirty property is true and the isValid property is also true,
then the buildFilter method is called to rebuild the filter.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited