/** * Create a new ShapePainter with the specified shape and fillPaint. * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape */ public ShapePainter(Shape shape, Paint paint) { super(); this.shape = shape; this.setFillPaint(paint); }
/** * Create a new ShapePainter with the specified shape and fillPaint. * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape */ public ShapePainter(Shape shape, Paint paint) { super(); this.shape = shape; this.setFillPaint(paint); }
/** * Create a new ShapePainter with the specified shape and fillPaint. * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape */ public ShapePainter(Shape shape, Paint paint) { super(); this.shape = shape; this.setFillPaint(paint); }
/** * Create a new ShapePainter with the specified shape and fillPaint. * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape */ public ShapePainter(Shape shape, Paint paint) { super(); this.shape = shape; this.setFillPaint(paint); }
/** * Create a new ShapePainter with the specified shape and fillPaint. The shape * can be filled or stroked (only the outline is painted). * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape * @param style specifies the ShapePainter.Style to use for painting this shape. * If null, then Style.BOTH is used */ public ShapePainter(Shape shape, Paint paint, Style style) { super(); this.shape = shape; this.setFillPaint(paint); this.setStyle(style == null ? Style.BOTH : style); }
/** * Create a new ShapePainter with the specified shape and fillPaint. The shape * can be filled or stroked (only the outline is painted). * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape * @param style specifies the ShapePainter.Style to use for painting this shape. * If null, then Style.BOTH is used */ public ShapePainter(Shape shape, Paint paint, Style style) { super(); this.shape = shape; this.setFillPaint(paint); this.setStyle(style == null ? Style.BOTH : style); }
/** * Create a new ShapePainter with the specified shape and fillPaint. The shape * can be filled or stroked (only the outline is painted). * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape * @param style specifies the ShapePainter.Style to use for painting this shape. * If null, then Style.BOTH is used */ public ShapePainter(Shape shape, Paint paint, Style style) { super(); this.shape = shape; this.setFillPaint(paint); this.setStyle(style == null ? Style.BOTH : style); }
/** * Create a new ShapePainter with the specified shape and fillPaint. The shape * can be filled or stroked (only the ouline is painted). * * * @param shape the shape to fillPaint * @param paint the fillPaint to be used to fillPaint the shape * @param style specifies the ShapePainter.Style to use for painting this shape. * If null, then Style.BOTH is used */ public ShapePainter(Shape shape, Paint paint, Style style) { super(); this.shape = shape; this.setFillPaint(paint); this.setStyle(style == null ? Style.BOTH : style); }
/** * Create a new ShapePainter */ public ShapePainter() { super(); this.shape = new Ellipse2D.Double(0,0,100,100); this.setBorderWidth(3); this.setFillPaint(Color.RED); this.setBorderPaint(Color.BLACK); }
/** * Create a new ShapePainter */ public ShapePainter() { super(); this.shape = new Ellipse2D.Double(0,0,100,100); this.setBorderWidth(3); this.setFillPaint(Color.RED); this.setBorderPaint(Color.BLACK); }
/** * Create a new ShapePainter */ public ShapePainter() { super(); this.shape = new Ellipse2D.Double(0,0,100,100); this.setBorderWidth(3); this.setFillPaint(Color.RED); this.setBorderPaint(Color.BLACK); }
/** * Create a new ShapePainter */ public ShapePainter() { super(); this.shape = new Ellipse2D.Double(0,0,100,100); this.setBorderWidth(3); this.setFillPaint(Color.RED); this.setBorderPaint(Color.BLACK); }