Skip to content
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

Open
indraraj26 opened this issue Jul 26, 2024 · 2 comments · May be fixed by #3758 or #3759
Open

[getTextColor] It should return in the RGB format #3753

indraraj26 opened this issue Jul 26, 2024 · 2 comments · May be fixed by #3758 or #3759

Comments

@indraraj26
Copy link

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 code

Expect:
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)

@Pulkitxm Pulkitxm linked a pull request Aug 7, 2024 that will close this issue
@JoaoSchmitz JoaoSchmitz linked a pull request Aug 8, 2024 that will close this issue
@Siddharthgup
Copy link

Hi, Can u assign me this problem ?

@Anurag0218
Copy link

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
Labels
None yet
Projects
None yet
3 participants