@@ -133,7 +133,7 @@ public class BitmapText extends Node {
* @return color of the text
*/
public ColorRGBA getColor() {
- return block.getColor();
+ return letters.getBaseColor();
}
/**
@@ -311,6 +311,10 @@ class Letters {
setColor( 0, block.getText().length(), color );
+ ColorRGBA getBaseColor() {
+ return baseColor;
+ }
+
* @param start start index to set style. inclusive.
* @param end end index to set style. EXCLUSIVE.