Top Fields Constructors Methods
com.sun.scenario.effect.impl.state

public Class MotionBlurState

extends LinearConvolveKernel
Class Inheritance
Imports
com.sun.javafx.geom.Rectangle, com.sun.javafx.geom.transform.BaseTransform

Field Summary

Modifier and TypeField and Description
private float
private float

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public float
public int
public int
getKernelSize(int
the pass of the algorithm being performed
pass
)

Implements abstract com.sun.scenario.effect.impl.state.LinearConvolveKernel.getKernelSize.

Returns the size of the kernel for a given pass.

public float
public LinearConvolveRenderState
public final Rectangle
getResultBounds(Rectangle
the bounds of the input image
srcdimension
,
int
the algorithm pass being performed
pass
)

Implements abstract com.sun.scenario.effect.impl.state.LinearConvolveKernel.getResultBounds.

Returns the size of the output image needed for a given input image dimensions and a given pass of the algorithm.

public int
public boolean
isNop()

Overrides com.sun.scenario.effect.impl.state.LinearConvolveKernel.isNop.

Returns true if the entire operation of this linear convolution would have no effect on the source data.

public void
setAngle(float angle)

public void
setRadius(float radius)

Inherited from com.sun.scenario.effect.impl.state.LinearConvolveKernel:
isShadow

Field Detail

angleback to summary
private float angle
radiusback to summary
private float radius

Constructor Detail

MotionBlurStateback to summary
public MotionBlurState()

Method Detail

getAngleback to summary
public float getAngle()
getHPadback to summary
public int getHPad()
getKernelSizeback to summary
public int getKernelSize(int pass)

Implements abstract com.sun.scenario.effect.impl.state.LinearConvolveKernel.getKernelSize.

Doc from com.sun.scenario.effect.impl.state.LinearConvolveKernel.getKernelSize.

Returns the size of the kernel for a given pass.

Parameters
pass:int

the pass of the algorithm being performed

Returns:int

the size of the kernel for the given pass

Annotations
@Override
getRadiusback to summary
public float getRadius()
getRenderStateback to summary
public LinearConvolveRenderState getRenderState(BaseTransform filtertx)

Implements abstract com.sun.scenario.effect.impl.state.LinearConvolveKernel.getRenderState.

Annotations
@Override
getResultBoundsback to summary
public final Rectangle getResultBounds(Rectangle srcdimension, int pass)

Implements abstract com.sun.scenario.effect.impl.state.LinearConvolveKernel.getResultBounds.

Doc from com.sun.scenario.effect.impl.state.LinearConvolveKernel.getResultBounds.

Returns the size of the output image needed for a given input image dimensions and a given pass of the algorithm.

Parameters
srcdimension:Rectangle

the bounds of the input image

pass:int

the algorithm pass being performed

Returns:Rectangle

the bounds of the result image

Annotations
@Override
getVPadback to summary
public int getVPad()
isNopback to summary
public boolean isNop()

Overrides com.sun.scenario.effect.impl.state.LinearConvolveKernel.isNop.

Doc from com.sun.scenario.effect.impl.state.LinearConvolveKernel.isNop.

Returns true if the entire operation of this linear convolution would have no effect on the source data.

Returns:boolean

true if the operation is a NOP

Annotations
@Override
setAngleback to summary
public void setAngle(float angle)
setRadiusback to summary
public void setRadius(float radius)