Refactor #4125: Apply textAlign, fontSize, fontName, bounding getter/setter

    - New text definition
    - Fix bugs