/** * Sets the path effects to be drawn on this painter. Set this to null in order to remove all installed effects. * @param areaEffects the effects to apply to this painter */ public void setAreaEffects(AreaEffect... areaEffects) { AreaEffect[] old = getAreaEffects(); this.areaEffects = new AreaEffect[areaEffects == null ? 0 : areaEffects.length]; if (areaEffects != null) { System.arraycopy(areaEffects, 0, this.areaEffects, 0, this.areaEffects.length); } setDirty(true); firePropertyChange("areaEffects", old, getAreaEffects()); }
/** * Sets the path effects to be drawn on this painter. Set this to null in order to remove all installed effects. * @param areaEffects the effects to apply to this painter */ public void setAreaEffects(AreaEffect... areaEffects) { AreaEffect[] old = getAreaEffects(); this.areaEffects = new AreaEffect[areaEffects == null ? 0 : areaEffects.length]; if (areaEffects != null) { System.arraycopy(areaEffects, 0, this.areaEffects, 0, this.areaEffects.length); } setDirty(true); firePropertyChange("areaEffects", old, getAreaEffects()); }
/** * Sets the path effects to be drawn on this painter. Set this to null in order to remove all installed effects. * @param areaEffects the effects to apply to this painter */ public void setAreaEffects(AreaEffect... areaEffects) { AreaEffect[] old = getAreaEffects(); this.areaEffects = new AreaEffect[areaEffects == null ? 0 : areaEffects.length]; if (areaEffects != null) { System.arraycopy(areaEffects, 0, this.areaEffects, 0, this.areaEffects.length); } setDirty(true); firePropertyChange("areaEffects", old, getAreaEffects()); }
/** * Sets the path effects to be drawn on this painter. Set this to null in order to remove all installed effects. * @param areaEffects the effects to apply to this painter */ public void setAreaEffects(AreaEffect... areaEffects) { AreaEffect[] old = getAreaEffects(); this.areaEffects = new AreaEffect[areaEffects == null ? 0 : areaEffects.length]; if (areaEffects != null) { System.arraycopy(areaEffects, 0, this.areaEffects, 0, this.areaEffects.length); } setDirty(true); firePropertyChange("areaEffects", old, getAreaEffects()); }
/** * The shape can be filled or simply stroked (outlined), or both or none. By default, * the shape is both filled and stroked. This property specifies the strategy to * use. * @param s the Style to use. If null, Style.BOTH is used */ public void setStyle(Style s) { Style old = getStyle(); this.style = s == null ? Style.BOTH : s; setDirty(true); firePropertyChange("style", old, getStyle()); }
/** * The shape can be filled or simply stroked (outlined), or both or none. By default, * the shape is both filled and stroked. This property specifies the strategy to * use. * @param s the Style to use. If null, Style.BOTH is used */ public void setStyle(Style s) { Style old = getStyle(); this.style = s == null ? Style.BOTH : s; setDirty(true); firePropertyChange("style", old, getStyle()); }
/** * Sets the border width to use for painting. If null, then the default Graphics2D * stroke will be used. The stroke will be centered on the actual shape outline. * @param s the Stroke to fillPaint with */ public void setBorderWidth(float s) { float old = getBorderWidth(); this.borderWidth = s; setDirty(true); firePropertyChange("borderWidth", old, getBorderWidth()); }
/** * Sets the Paint to use. This is the Paint object that will be used to fill the path area. If null, nothing is painted * @param p the Paint to use */ public void setFillPaint(Paint p) { Paint old = getFillPaint(); this.fillPaint = p; setDirty(true); firePropertyChange("paint", old, getFillPaint()); }
/** * Sets the border width to use for painting. If null, then the default Graphics2D * stroke will be used. The stroke will be centered on the actual shape outline. * @param s the Stroke to fillPaint with */ public void setBorderWidth(float s) { float old = getBorderWidth(); this.borderWidth = s; setDirty(true); firePropertyChange("strokeWidth", old, getBorderWidth()); }
/** * Sets the border width to use for painting. If null, then the default Graphics2D * stroke will be used. The stroke will be centered on the actual shape outline. * @param s the Stroke to fillPaint with */ public void setBorderWidth(float s) { float old = getBorderWidth(); this.borderWidth = s; setDirty(true); firePropertyChange("borderWidth", old, getBorderWidth()); }
/** * Sets the Paint to use. This is the Paint object that will be used to fill the path area. If null, nothing is painted * @param p the Paint to use */ public void setFillPaint(Paint p) { Paint old = getFillPaint(); this.fillPaint = p; setDirty(true); firePropertyChange("fillPaint", old, getFillPaint()); }
/** * Sets the Paint to use. This is the Paint object that will be used to fill the path area. If null, nothing is painted * @param p the Paint to use */ public void setFillPaint(Paint p) { Paint old = getFillPaint(); this.fillPaint = p; setDirty(true); firePropertyChange("fillPaint", old, getFillPaint()); }
/** * Sets the border width to use for painting. If null, then the default Graphics2D * stroke will be used. The stroke will be centered on the actual shape outline. * @param s the Stroke to fillPaint with */ public void setBorderWidth(float s) { float old = getBorderWidth(); this.borderWidth = s; setDirty(true); firePropertyChange("borderWidth", old, getBorderWidth()); }
/** * Sets the Paint to use. This is the Paint object that will be used to fill the path area. If null, nothing is painted * @param p the Paint to use */ public void setFillPaint(Paint p) { Paint old = getFillPaint(); this.fillPaint = p; setDirty(true); firePropertyChange("fillPaint", old, getFillPaint()); }
/** * The shape can be filled or simply stroked (outlined), or both or none. By default, * the shape is both filled and stroked. This property specifies the strategy to * use. * @param s the Style to use. If null, Style.BOTH is used */ public void setStyle(Style s) { Style old = getStyle(); this.style = s == null ? Style.BOTH : s; setDirty(true); firePropertyChange("style", old, getStyle()); }
/** * The shape can be filled or simply stroked (outlined), or both or none. By default, * the shape is both filled and stroked. This property specifies the strategy to * use. * @param s the Style to use. If null, Style.BOTH is used */ public void setStyle(Style s) { Style old = getStyle(); this.style = s == null ? Style.BOTH : s; setDirty(true); firePropertyChange("style", old, getStyle()); }
/** * The Paint to use for stroking the shape (painting the outline). * Can be a Color, GradientPaint, TexturePaint, or any other kind of Paint. * If null, the component foreground is used. * * @param p the Paint to use for stroking the shape. May be null. */ public void setBorderPaint(Paint p) { Paint old = getBorderPaint(); this.borderPaint = p; setDirty(true); firePropertyChange("borderPaint", old, getBorderPaint()); }
/** * The Paint to use for stroking the shape (painting the outline). * Can be a Color, GradientPaint, TexturePaint, or any other kind of Paint. * If null, the component foreground is used. * * @param p the Paint to use for stroking the shape. May be null. */ public void setBorderPaint(Paint p) { Paint old = getBorderPaint(); this.borderPaint = p; setDirty(true); firePropertyChange("borderPaint", old, getBorderPaint()); }
/** * The Paint to use for stroking the shape (painting the outline). * Can be a Color, GradientPaint, TexturePaint, or any other kind of Paint. * If null, the component foreground is used. * * @param p the Paint to use for stroking the shape. May be null. */ public void setBorderPaint(Paint p) { Paint old = getBorderPaint(); this.borderPaint = p; setDirty(true); firePropertyChange("borderPaint", old, getBorderPaint()); }
/** * The Paint to use for stroking the shape (painting the outline). * Can be a Color, GradientPaint, TexturePaint, or any other kind of Paint. * If null, the component foreground is used. * * @param p the Paint to use for stroking the shape. May be null. */ public void setBorderPaint(Paint p) { Paint old = getBorderPaint(); this.borderPaint = p; setDirty(true); firePropertyChange("borderPaint", old, getBorderPaint()); }