static void setShadowOffset(int xOffset, int yOffset)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
xOffset | -100 ... 100 | horizontal shadow offset |
yOffset | -100 ... 100 | vertical shadow offset |
Sets the shadow offset for the drop shadows of subsequent shape drawing (refer to Draw.drawRectangle(int, int, int), Draw.drawStyledCircle(int, int), Draw.drawEllipse(int, int, int)).
Note
Example
Attribute.setShadowOffset(20, -10);
All subsequent shapes are drawn with a drop shadow 20 pixels to the right (positive x) and 10 pixels above (negative y) the original shape.
See also:
Draw.drawRectangle(int, int, int)
Draw.drawStyledCircle(int, int)
Draw.drawEllipse(int, int, int)
Attribute.setBorderShadowColor(int)
Copyright © demmel products gmbh. All rights reserved.