/** * 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); }