JIDE 3.5.15

com.jidesoft.tooltip.composite
Class EdgeEffectComposite

java.lang.Object
  extended by com.jidesoft.tooltip.composite.EdgeEffectComposite
All Implemented Interfaces:
ShadowComposite

public class EdgeEffectComposite
extends Object
implements ShadowComposite

This class defines the blurred edge. Balloon tip using this compositor can produce a blurred shadow edge.


Constructor Summary
EdgeEffectComposite()
           
 
Method Summary
 int compose(double distance)
          Composing the shadow pixel color
 int getEdge()
          Gets the pixel of the edge that will be blurred.
 void setEdge(int edge)
          Set the size of the blurred edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeEffectComposite

public EdgeEffectComposite()
Method Detail

compose

public int compose(double distance)
Composing the shadow pixel color

Specified by:
compose in interface ShadowComposite
Parameters:
distance - the distance of the pixel to the outline edge.
Returns:
the resulting pixel value.

getEdge

public int getEdge()
Gets the pixel of the edge that will be blurred.

Returns:
the blured edge size.

setEdge

public void setEdge(int edge)
Set the size of the blurred edge.

Parameters:
edge - the new size of the blurred edge.

JIDE 3.5.15