Related Issue: #91
Summary
This PR introduces getters for all trivial setters, including styleStr and familyStr, to improve state management. These getters allow users to retrieve current values before making modifications, making it easier to restore the previous state when needed.
Changes Made
Added getters for all trivial setters, including:
GetFontFamily()
GetFontStyle()
- etc.
- Updated documentation to reflect the new getters.
- Added unit tests to ensure correctness.
Testing
Ran go test to verify all tests pass.
Confirmed that the new getters return the expected values.
Related Issue: #91
### Summary
This PR introduces getters for all trivial setters, including styleStr and familyStr, to improve state management. These getters allow users to retrieve current values before making modifications, making it easier to restore the previous state when needed.
### Changes Made
Added getters for all trivial setters, including:
- `GetFontFamily()`
- `GetFontStyle()`
- etc.
- Updated documentation to reflect the new getters.
- Added unit tests to ensure correctness.
### Testing
Ran go test to verify all tests pass.
Confirmed that the new getters return the expected values.