forked from External/mage
Reduced hand cards size. Removed battlefield card area gap (cards now have more place and are less reduced in size).
This commit is contained in:
parent
93878d4868
commit
2abc0e888d
15 changed files with 81 additions and 36 deletions
|
|
@ -25,6 +25,9 @@ public class BufferedImageBuilder {
|
|||
}
|
||||
|
||||
public static BufferedImage bufferImage(Image image, int type) {
|
||||
if (image == null) {
|
||||
return null;
|
||||
}
|
||||
BufferedImage bufferedImage = new BufferedImage(image.getWidth(null), image.getHeight(null), type);
|
||||
Graphics2D g = bufferedImage.createGraphics();
|
||||
g.drawImage(image, null, null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue