ShadowedSprite
public ShadowedSprite(proguard.gui.splash.VariableInt xOffset,
proguard.gui.splash.VariableInt yOffset,
proguard.gui.splash.VariableDouble alpha,
proguard.gui.splash.VariableInt blur,
Sprite sprite)
Creates a new ShadowedSprite.
- 参数:
xOffset - the variable x-offset of the shadow, relative to the sprite itself.
yOffset - the variable y-offset of the shadow, relative to the sprite itself.
alpha - the variable darkness of the shadow (between 0 and 1).
blur - the variable blur of the shadow (0 for sharp shadows, 1 or
more for increasingly blurry shadows).
sprite - the Sprite to be painted with its shadow.