APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.scenario.effect.impl.state

public Class BoxBlurState

extends HVSeparableKernel
Class Inheritance
Known Direct Subclasses
com.sun.scenario.effect.impl.state.BoxShadowState
Imports
com.sun.javafx.geom.transform.BaseTransform, com.sun.scenario.effect.Color4f

The state and implementation class for calculating 1 dimensional linear convolution kernels for performing multi-pass box blurs.

Field Summary

Modifier and TypeField and Description
private int
private int
private int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public int
public int
getKernelSize(int pass)

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

Returns the size of the kernel for a given pass.

public LinearConvolveRenderState
public Color4f
public float
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
setBlurPasses(int blurPasses)

public void
setHsize(int hsize)

public void
setVsize(int vsize)

Inherited from com.sun.scenario.effect.impl.state.HVSeparableKernel:
getResultBounds

Field Detail

blurPassesback to summary
private int blurPasses
hsizeback to summary
private int hsize
vsizeback to summary
private int vsize

Constructor Detail

BoxBlurStateback to summary
public BoxBlurState()

Method Detail

getBlurPassesback to summary
public int getBlurPasses()
getHsizeback to summary
public int getHsize()
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.

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

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

Annotations
@Override
getShadowColorback to summary
public Color4f getShadowColor()
getSpreadback to summary
public float getSpread()
getVsizeback to summary
public int getVsize()
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.

Annotations
@Override
setBlurPassesback to summary
public void setBlurPasses(int blurPasses)
setHsizeback to summary
public void setHsize(int hsize)
setVsizeback to summary
public void setVsize(int vsize)