how to : Merging 2 transparent icons
Hi
While trying to make APIComparator plugin IDEA 7 and 8 compatible, I'm encountering an issue : I need to merge two icons (for example node/static.png and node/field.png found in IDEA icons.jar).
Does anyone know how to easily do that ?
请先登录再写评论。
final LayeredIcon layeredIcon = new LayeredIcon(2);
layeredIcon.setIcon(originalIcon, 0);
layeredIcon.setIcon(myOverlayIcon, 1, xOffset, yOffset);
Thanks a lot