com.jidesoft.tooltip
Interface ShadowComposite
- All Known Implementing Classes:
- DefaultShadowComposite, EdgeEffectComposite
public interface ShadowComposite
Shadow composite interface is responsible for compositing the color of the
shadowing image, using different compositing rules, such as transparent
or opaque.
Method Summary |
int |
compose(double edgeDistance)
Composing the background image pixel color according to current distance to the edge
of balloon outline. |
compose
int compose(double edgeDistance)
- Composing the background image pixel color according to current distance to the edge
of balloon outline. The outward distance is positive and innerward distance
is negative. Compositor should use this distance to determin the light effect
and the resulting shadow pixel.
- Parameters:
edgeDistance
- the distance of the pixel to the outline edge.
- Returns:
- the resulting pixel value.