-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[getTextColor] It should return in the RGB format #3753
Comments
Hi, Can u assign me this problem ? |
Hii, is this issue still open? is anyone working on it? If not, can I take it up? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
To set the textColor, we expect RGB format but where as getTextColor return in hex code format. Due to this it is not so great to work with dynamic color/text.
Actual:
doc.getTextColor
- hex codeExpect:
doc.getTextColor
- Array [r,g,b,a]May be introduce a optional param to getTextColor
hexCode = 0
rgbCode = 1
default to 0
doc.getTextColor(1)
The text was updated successfully, but these errors were encountered: