Back to project page AndroSol.
The source code is released under:
MIT License
If you think the Android project AndroSol listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lib.cards.views; /*from w w w. jav a 2s. c om*/ import lib.cards.utilities.Size; public class DeckMetrics { private Size cardSize; public Size getCardSize() { return cardSize; } public void setCardSize(Size cardSize) { this.cardSize = cardSize; } public Size getCardOverlap() { return new Size(cardSize.width / 4, cardSize.height / 4); } // Space between stacks of cards public Size getMargin() { return new Size(cardSize.width / 6, cardSize.width / 6); } }