| Modifier and Type | Field and Description |
|---|---|
| private MotionBlurState |
| Access | Constructor and Description |
|---|---|
| public | MotionBlur()
Constructs a new |
| public | MotionBlur(float
the radius of the Gaussian kernel radius, float the angle of the motion effect, in radians angle)Constructs a new |
| public | MotionBlur(float
the radius of the Gaussian kernel radius, float the angle of the motion effect, in radians angle, Effect the single input input)EffectConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public Effect. | getAccelType(FilterContext fctx)
Overrides com. Returns one of the |
| public float | Returns: the angle of the motion effect, in radiansReturns the angle of the motion effect, in radians. |
| public BaseBounds | getBounds(BaseTransform
the transform the effect will be viewed under transform, Effect the default input defaultInput)Effect to be used in
all cases where a filter has a null inputOverrides com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified |
| public DirtyRegionContainer | getDirtyRegions(Effect
the default input defaultInput, DirtyRegionPool Effect to be used in
all cases where a filter has a null inputthe pool of dirty regions regionPool)Overrides com. Returns the dirty region container containing dirty regions affected by this filter operation. |
| public final Effect | |
| public float | |
| public Rectangle | getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas)
Overrides com.
|
| pack-priv LinearConvolveKernel | getState()
Implements abstract com. Returns state object that is associated with this effect instance. |
| public boolean | reducesOpaquePixels()
Implements abstract com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. |
| public void | setAngle(float
the angle of the motion effect, in radians angle)Sets the angle of the motion effect, in radians. |
| public void | |
| public void |
| state | back to summary |
|---|---|
| private MotionBlurState state | |
| MotionBlur | back to summary |
|---|---|
| public MotionBlur() Constructs a new
new MotionBlur(10f, 0f, DefaultInput)
| |
| MotionBlur | back to summary |
|---|---|
| public MotionBlur(float radius, float angle) Constructs a new
new MotionBlur(radius, angle, DefaultInput)
| |
| MotionBlur | back to summary |
|---|---|
| public MotionBlur(float radius, float angle, Effect input) Constructs a new
| |
| getAccelType | back to summary |
|---|---|
| public Effect. Overrides com. Doc from com. Returns one of the | |
| getAngle | back to summary |
|---|---|
| public float getAngle() Returns the angle of the motion effect, in radians.
| |
| getBounds | back to summary |
|---|---|
| public BaseBounds getBounds(BaseTransform transform, Effect defaultInput) Overrides com. Doc from com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified
| |
| getDirtyRegions | back to summary |
|---|---|
| public DirtyRegionContainer getDirtyRegions(Effect defaultInput, DirtyRegionPool regionPool) Overrides com. Doc from com. Returns the dirty region container containing dirty regions affected by this filter operation.
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getRadius | back to summary |
|---|---|
| public float getRadius() Returns the radius of the Gaussian kernel.
| |
| getResultBounds | back to summary |
|---|---|
| public Rectangle getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas) Overrides com.
| |
| getState | back to summary |
|---|---|
| pack-priv LinearConvolveKernel getState() Implements abstract com. Doc from com. Returns state object that is associated with this effect instance. Subclasses may override this method to return some sort of state object that contains implementation details that are hidden from the public API. Classes outside this package can use the AccessHelper class to get access to this package-private method.
| |
| reducesOpaquePixels | back to summary |
|---|---|
| public boolean reducesOpaquePixels() Implements abstract com. Doc from com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. It is always safe to return true from this method, though the consequences may be that the caller chooses to not utilize a planned optimization.
| |
| setAngle | back to summary |
|---|---|
| public void setAngle(float angle) Sets the angle of the motion effect, in radians.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the input for this
| |
| setRadius | back to summary |
|---|---|
| public void setRadius(float radius) Sets the radius of the Gaussian kernel.
Min: 0.0
Max: 63.0
Default: 10.0
Identity: 0.0
| |