public RectanglePainter(Paint fillPaint, Paint borderPaint, float borderWidth, Style style) { this(new Insets(0, 0, 0, 0), -1, -1, 0, 0, false, fillPaint, borderWidth, borderPaint); setStyle(style); setDirty(false); }
public RectanglePainter(Paint fillPaint, Paint borderPaint, float borderWidth, Style style) { this(new Insets(0, 0, 0, 0), -1, -1, 0, 0, false, fillPaint, borderWidth, borderPaint); setStyle(style); setDirty(false); }
public RectanglePainter(Paint fillPaint, Paint borderPaint, float borderWidth, Style style) { this(new Insets(0, 0, 0, 0), -1, -1, 0, 0, false, fillPaint, borderWidth, borderPaint); setStyle(style); setDirty(false); }
/** * sets the round height of the rectangle * @param roundHeight a new round height */ public void setRoundHeight(int roundHeight) { int oldRoundHeight = getRoundHeight(); this.roundHeight = roundHeight; setDirty(true); firePropertyChange("roundHeight",oldRoundHeight,roundHeight); }
/** * sets the round width of the rectangle * @param roundWidth a new round width */ public void setRoundWidth(int roundWidth) { int oldRoundWidth = getRoundWidth(); this.roundWidth = roundWidth; setDirty(true); firePropertyChange("roundWidth",oldRoundWidth,roundWidth); }
/** * sets if the rectangle should be rounded * @param rounded if the rectangle should be rounded */ public void setRounded(boolean rounded) { boolean oldRounded = isRounded(); this.rounded = rounded; setDirty(true); firePropertyChange("rounded",oldRounded,rounded); }
/** * sets the round width of the rectangle * @param roundWidth a new round width */ public void setRoundWidth(int roundWidth) { int oldRoundWidth = getRoundWidth(); this.roundWidth = roundWidth; setDirty(true); firePropertyChange("roundWidth",oldRoundWidth,roundWidth); }
/** * sets if the rectangle should be rounded * @param rounded if the rectangle should be rounded */ public void setRounded(boolean rounded) { boolean oldRounded = isRounded(); this.rounded = rounded; setDirty(true); firePropertyChange("rounded",oldRounded,rounded); }
/** * sets the round height of the rectangle * @param roundHeight a new round height */ public void setRoundHeight(int roundHeight) { int oldRoundHeight = getRoundHeight(); this.roundHeight = roundHeight; setDirty(true); firePropertyChange("roundHeight",oldRoundHeight,roundHeight); }
/** * sets if the rectangle should be rounded * @param rounded if the rectangle should be rounded */ public void setRounded(boolean rounded) { boolean oldRounded = isRounded(); this.rounded = rounded; setDirty(true); firePropertyChange("rounded",oldRounded,rounded); }
/** * sets the round height of the rectangle * @param roundHeight a new round height */ public void setRoundHeight(int roundHeight) { int oldRoundHeight = getRoundHeight(); this.roundHeight = roundHeight; setDirty(true); firePropertyChange("roundHeight",oldRoundHeight,roundHeight); }
/** * sets if the rectangle should be rounded * @param rounded if the rectangle should be rounded */ public void setRounded(boolean rounded) { boolean oldRounded = isRounded(); this.rounded = rounded; setDirty(true); firePropertyChange("rounded",oldRounded,rounded); }
/** * sets the round width of the rectangle * @param roundWidth a new round width */ public void setRoundWidth(int roundWidth) { int oldRoundWidth = getRoundWidth(); this.roundWidth = roundWidth; setDirty(true); firePropertyChange("roundWidth",oldRoundWidth,roundWidth); }
/** * sets the round height of the rectangle * @param roundHeight a new round height */ public void setRoundHeight(int roundHeight) { int oldRoundHeight = getRoundHeight(); this.roundHeight = roundHeight; setDirty(true); firePropertyChange("roundHeight",oldRoundHeight,roundHeight); }
/** * sets the round width of the rectangle * @param roundWidth a new round width */ public void setRoundWidth(int roundWidth) { int oldRoundWidth = getRoundWidth(); this.roundWidth = roundWidth; setDirty(true); firePropertyChange("roundWidth",oldRoundWidth,roundWidth); }
public RectanglePainter(Insets insets, int width, int height, int roundWidth, int roundHeight, boolean rounded, Paint fillPaint, float strokeWidth, Paint borderPaint) { this.width = width; this.height = height; setFillHorizontal(width < 0); setFillVertical(height < 0); setInsets(insets); this.roundWidth = roundWidth; this.roundHeight = roundHeight; this.rounded = rounded; this.setFillPaint(fillPaint); this.setBorderWidth(strokeWidth); this.setBorderPaint(borderPaint); this.setDirty(false); }
public RectanglePainter(Insets insets, int width, int height, int roundWidth, int roundHeight, boolean rounded, Paint fillPaint, float strokeWidth, Paint borderPaint) { this.width = width; this.height = height; setFillHorizontal(width < 0); setFillVertical(height < 0); setInsets(insets); this.roundWidth = roundWidth; this.roundHeight = roundHeight; this.rounded = rounded; this.setFillPaint(fillPaint); this.setBorderWidth(strokeWidth); this.setBorderPaint(borderPaint); this.setDirty(false); }
public RectanglePainter(Insets insets, int width, int height, int roundWidth, int roundHeight, boolean rounded, Paint fillPaint, float strokeWidth, Paint borderPaint) { this.width = width; this.height = height; setFillHorizontal(width < 0); setFillVertical(height < 0); setInsets(insets); this.roundWidth = roundWidth; this.roundHeight = roundHeight; this.rounded = rounded; this.setFillPaint(fillPaint); this.setBorderWidth(strokeWidth); this.setBorderPaint(borderPaint); this.setDirty(false); }