@ SuppressWarnings ( "rawtypes" ) public static CompoundPainter getCompoundPainter ( final Color matte , final Color gloss , final GlossPainter . GlossPosition position , final double angle , final Color pinstripe ) { final MattePainter mp = new MattePainter ( matte ) ; final GlossPainter gp = new GlossPainter ( gloss , position ) ; final PinstripePainter pp = new PinstripePainter ( pinstripe , angle ) ; final CompoundPainter compoundPainter = new CompoundPainter ( mp , pp , gp ) ; return compoundPainter ; }
Gets a CompoundPainter object .