@ SuppressWarnings ( "rawtypes" ) public static CompoundPainter getCompoundPainter ( final Color color , final GlossPainter . GlossPosition position , final double angle ) { final MattePainter mp = new MattePainter ( color ) ; final GlossPainter gp = new GlossPainter ( color , position ) ; final PinstripePainter pp = new PinstripePainter ( color , angle ) ; final CompoundPainter compoundPainter = new CompoundPainter ( mp , pp , gp ) ; return compoundPainter ; }
Gets the compound painter .