79434057

Date: 2025-02-12 18:22:09
Score: 1
Natty:
Report link

Assuming that at some point you are going to set the text of this extended node, for example through a constructor like this

public MyNode(String text) {
    super(text);
}

you can just use this.getFont().getSize(); I'm not sure if this will work if the node isn't rendered in the scene, however.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gear Shift