mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Add fallback card render (origin card render), see #4168
This commit is contained in:
parent
890b7fd703
commit
f81489c377
10 changed files with 235 additions and 65 deletions
|
|
@ -25,8 +25,8 @@ public abstract class MageCard extends JPanel {
|
|||
|
||||
public abstract CardView getOriginal();
|
||||
|
||||
// sets the vertical text offset for the card name on the image
|
||||
public abstract void setTextOffset(int yOffset);
|
||||
// sets the vertical text offset for the card name on the image, use to move caption to card center
|
||||
public abstract void setCardCaptionTopOffset(int yOffsetPercent);
|
||||
|
||||
public abstract void setCardBounds(int x, int y, int width, int height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue