mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add transparency support [fix-30013]
This commit is contained in:
+9
-1
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.intellij.android.designer.designSurface;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.util.ArrayList;
|
||||
@@ -26,11 +25,20 @@ import java.util.List;
|
||||
*/
|
||||
public class RootView extends com.intellij.designer.designSurface.RootView {
|
||||
private List<EmptyRegion> myEmptyRegions;
|
||||
private boolean myAlphaChannelImage;
|
||||
|
||||
public RootView(int x, int y, BufferedImage image) {
|
||||
super(x, y, image);
|
||||
}
|
||||
|
||||
public boolean isAlphaChannelImage() {
|
||||
return myAlphaChannelImage;
|
||||
}
|
||||
|
||||
public void setAlphaChannelImage(boolean alphaChannelImage) {
|
||||
myAlphaChannelImage = alphaChannelImage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setImage(BufferedImage image, int x, int y, int width, int height) {
|
||||
super.setImage(image, x, y, width, height);
|
||||
|
||||
Reference in New Issue
Block a user