sbgn / libsbgn

Libraries for the Systems Biology Graphical Notation (SBGN); Java and C++
Other
15 stars 8 forks source link

Suggestion: Font style property to be exposed via the RenderUtil class #52

Closed ibalaur closed 5 years ago

ibalaur commented 5 years ago

Currently, there is no exposed functionality for font style, (as there is for font size and font family).

ibalaur commented 5 years ago

Actually, the font style information can be accessed from the Style object itself; but, then, why other properties such as font size and font family are also exposed via the RenderUtils.getStyleProperty and they also can be accessed via the Style object?

fbergmann commented 5 years ago

Hello Irina,

I've added what I thought might be useful, but since I'm not actually using the library, I don't know what else would be helpful. Since you have write access, please add whatever you would like to add. let me know if you need me to make a new release snapshot.

best Frank

ibalaur commented 5 years ago

Hello Frank, Thank you. Please see the commit: https://github.com/sbgn/libsbgn/commit/3e9fe382c661e2c8046b6d97c0e9cbbf5bf4e1e5 Best wishes, Irina