/** Creates a new instance of ShadowPathEffect */ public ShadowPathEffect() { super(); setBrushColor(Color.BLACK); setRenderInsideShape(false); setShouldFillShape(true); setOffset(new Point(3,3)); }
/** Creates a new instance of ShadowPathEffect */ public ShadowPathEffect() { super(); setBrushColor(Color.BLACK); setRenderInsideShape(false); setShouldFillShape(true); setOffset(new Point(3,3)); }
/** Creates a new instance of ShadowPathEffect */ public ShadowPathEffect() { super(); setBrushColor(Color.BLACK); setRenderInsideShape(false); setShouldFillShape(true); setOffset(new Point(3,3)); }
/** Creates a new instance of ShadowPathEffect */ public ShadowPathEffect() { super(); setBrushColor(Color.BLACK); setRenderInsideShape(false); setShouldFillShape(true); setOffset(new Point(3,3)); }
/** * Creates a new instance of ShadowPathEffect */ public ShadowPathEffect(float opacity) { super(); setBrushColor(Color.BLACK); setRenderInsideShape(false); setShouldFillShape(true); setOffset(new Point(3, 3)); setOpacity(opacity); // opacity support added by lbalazscs }
private void updateDropShadowFromGUI(AreaEffects effects) { ShadowPathEffect dropShadowEffect = null; if (dropShadowPanel.isSelected()) { dropShadowEffect = new ShadowPathEffect(dropShadowPanel.getOpacity()); dropShadowPanel.updateEffectColorAndBrush(dropShadowEffect); dropShadowEffect.setOffset(dropShadowPanel.getOffset()); } effects.setDropShadowEffect(dropShadowEffect); }
angle -= textRotationAngle; Point2D adjustedOffset = Utils.offsetFromPolar(distance, angle); dropShadowEffect.setOffset(adjustedOffset);