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
3.0
PSp..om 12 years ago
parent 9b30f25616
commit 580579285b
  1. 4
      engine/src/core/com/jme3/font/BitmapText.java

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

Loading…
Cancel
Save