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 ?

0

final LayeredIcon layeredIcon = new LayeredIcon(2);
layeredIcon.setIcon(originalIcon, 0);
layeredIcon.setIcon(myOverlayIcon, 1, xOffset, yOffset);

0
Avatar
Permanently deleted user

Thanks a lot

0

请先登录再写评论。