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

Line Gradient Support #93

Open
rwhitmore90 opened this issue May 25, 2017 · 5 comments
Open

Line Gradient Support #93

rwhitmore90 opened this issue May 25, 2017 · 5 comments

Comments

@rwhitmore90
Copy link

Is there a way to set the color of a line shape to a gradient?

@gitbrent gitbrent self-assigned this May 25, 2017
@gitbrent
Copy link
Owner

Hi @rwhitmore90 ,

Thanks for the question.

There is not presently any color options for gradients.

@rwhitmore90
Copy link
Author

Is it possible to implement something manually? My problem is part of our master template requires a line with a gradient.

I found this link which shows the key part is the <a:gs> tag http://www.brandwares.com/bestpractices/2016/05/xml-hacking-graduated-color-table-borders/

<a:ln w="19050">
<a:gradFill>
<a:gsLst>
<a:gs pos="0">
<a:schemeClr val="bg1"/>
</a:gs>
<a:gs pos="25000">
<a:srgbClr val="B7E6FF"/>
</a:gs>
<a:gs pos="100000">
<a:schemeClr val="accent1"/>
</a:gs>
</a:gsLst>
<a:lin ang="0" scaled="0"/>
</a:gradFill>
</a:ln>

@gitbrent
Copy link
Owner

Hi @rwhitmore90 ,

There's no way to pass in custom XML, could you use an image instead of a line as a workaround?

@pstoll
Copy link

pstoll commented Mar 10, 2018

This would be addressed by my implementation I reference in #102

@jchambondynadmic
Copy link

Any news about this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants