java - JWindow region opacity -


i want implement screenshot functionality in snipping tool. can select rectangle , make screenshot, rectangle full opacity.

i wonder if there function in swing or awt can use this:

window.setopacityat(rectangle r, 0.5f); 

i hope got problem!

see how create translucent , shaped windows: how implement per-pixel translucency.

partially transparent window


Comments

Popular posts from this blog

objective c - Can't build GCM with Protobuf in Xcode -

ember.js - EmberJS Model find not up-to-date with underlying store -

javascript - jQuery iScroll clickable list elements while retaining scroll? -