mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Update for Full Art Face art.
This commit is contained in:
parent
5bbcf03cb6
commit
67c07ecefc
1 changed files with 3 additions and 3 deletions
|
@ -223,7 +223,7 @@ public class ModernSplitCardRenderer extends ModernCardRenderer {
|
||||||
protected void drawSplitHalfFrame(Graphics2D g, CardPanelAttributes attribs, HalfCardProps half, int typeLineY) {
|
protected void drawSplitHalfFrame(Graphics2D g, CardPanelAttributes attribs, HalfCardProps half, int typeLineY) {
|
||||||
// Get the border paint
|
// Get the border paint
|
||||||
Color boxColor = getBoxColor(half.color, cardView.getCardTypes(), attribs.isTransformed);
|
Color boxColor = getBoxColor(half.color, cardView.getCardTypes(), attribs.isTransformed);
|
||||||
Paint textboxPaint = getTextboxPaint(half.color, cardView.getCardTypes(), cardWidth);
|
Paint textboxPaint = getTextboxPaint(half.color, cardView.getCardTypes(), cardWidth, false);
|
||||||
Paint borderPaint = getBorderPaint(half.color, cardView.getCardTypes(), cardWidth);
|
Paint borderPaint = getBorderPaint(half.color, cardView.getCardTypes(), cardWidth);
|
||||||
|
|
||||||
// Draw main frame
|
// Draw main frame
|
||||||
|
@ -299,7 +299,7 @@ public class ModernSplitCardRenderer extends ModernCardRenderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void drawFrame(Graphics2D g, CardPanelAttributes attribs, BufferedImage image) {
|
protected void drawFrame(Graphics2D g, CardPanelAttributes attribs, BufferedImage image, boolean lessOpaqueRulesTextBox) {
|
||||||
if (isAftermath()) {
|
if (isAftermath()) {
|
||||||
drawSplitHalfFrame(getUnmodifiedHalfContext(g), attribs, leftHalf, (int) (leftHalf.ch * TYPE_LINE_Y_FRAC));
|
drawSplitHalfFrame(getUnmodifiedHalfContext(g), attribs, leftHalf, (int) (leftHalf.ch * TYPE_LINE_Y_FRAC));
|
||||||
drawSplitHalfFrame(getAftermathHalfContext(g), attribs, rightHalf, (rightHalf.ch - boxHeight) / 2);
|
drawSplitHalfFrame(getAftermathHalfContext(g), attribs, rightHalf, (rightHalf.ch - boxHeight) / 2);
|
||||||
|
@ -309,7 +309,7 @@ public class ModernSplitCardRenderer extends ModernCardRenderer {
|
||||||
if (isFuse()) {
|
if (isFuse()) {
|
||||||
Graphics2D g2 = getRightHalfContext(g);
|
Graphics2D g2 = getRightHalfContext(g);
|
||||||
int totalFuseBoxWidth = rightHalf.cw * 2 + 2 * borderWidth + dividerSize;
|
int totalFuseBoxWidth = rightHalf.cw * 2 + 2 * borderWidth + dividerSize;
|
||||||
Paint boxColor = getTextboxPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth);
|
Paint boxColor = getTextboxPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth, false);
|
||||||
Paint borderPaint = getBorderPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth);
|
Paint borderPaint = getBorderPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth);
|
||||||
CardRendererUtils.drawRoundedBox(g2,
|
CardRendererUtils.drawRoundedBox(g2,
|
||||||
-borderWidth, rightHalf.ch,
|
-borderWidth, rightHalf.ch,
|
||||||
|
|
Loading…
Reference in a new issue