Added a getter for size since it's the only way

to compare a particular BitmapText's size to the
BitmapFont size.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
PSp..om 2012-11-04 03:45:11 +00:00
parent 9b30f25616
commit 580579285b

View File

@ -98,6 +98,10 @@ public class BitmapText extends Node {
letters.invalidate(); letters.invalidate();
} }
public float getSize() {
return block.getSize();
}
/** /**
* *
* @param text charsequence to change text to * @param text charsequence to change text to