|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.tooltip.shadows.PerspectiveShadow
public abstract class PerspectiveShadow
Perspective shadow is shadow which has perspective casting effect.
| Field Summary | |
|---|---|
protected double |
_xRatio
The shadow shearness on the x-axis direction. |
protected double |
_yRatio
The shadow shearness on the y-axis direction. |
| Constructor Summary | |
|---|---|
PerspectiveShadow()
Creates a new instance of LeftBottomShadow |
|
| Method Summary | |
|---|---|
BufferedImage |
createShadow(BufferedImage image,
BalloonTip balloonTip)
Create shadow image using the background image of the balloon tip. |
Dimension |
getShadowSize(Dimension size)
Get the size of shadow according to the balloon size. |
double |
getXRatio()
|
double |
getYRatio()
|
void |
setXRatio(double xRatio)
|
void |
setYRatio(double yRatio)
|
protected abstract Point |
translatePixel(int x,
int y,
int w,
int h)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jidesoft.tooltip.ShadowStyle |
|---|
layout |
| Field Detail |
|---|
protected double _yRatio
protected double _xRatio
| Constructor Detail |
|---|
public PerspectiveShadow()
| Method Detail |
|---|
public BufferedImage createShadow(BufferedImage image,
BalloonTip balloonTip)
ShadowStyle
createShadow in interface ShadowStyleimage - the background image of the balloon tipballoonTip - the balloon tip.
public Dimension getShadowSize(Dimension size)
ShadowStyle
getShadowSize in interface ShadowStylesize - the balloon size.
protected abstract Point translatePixel(int x,
int y,
int w,
int h)
public double getYRatio()
public void setYRatio(double yRatio)
public double getXRatio()
public void setXRatio(double xRatio)
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||