Skip to content

Add transparency to line - #889

Merged
gitbrent merged 1 commit into
gitbrent:masterfrom
mmarkelov:Add-transparency-to-line
Apr 23, 2021
Merged

Add transparency to line#889
gitbrent merged 1 commit into
gitbrent:masterfrom
mmarkelov:Add-transparency-to-line

Conversation

@mmarkelov

Copy link
Copy Markdown
Contributor

Right now there is no way to use transparency for line:

slide.addShape(pptx.shapes.OVAL_CALLOUT, {
  x: 6,
  y: 2,
  w: 3,
  h: 2,
  fill: { color: "ff0000", transparency: 50 },
  line: { color: "000000", width: 10, transparency: 50 },
});

This PR will fix it

@gitbrent gitbrent self-assigned this Mar 31, 2021
@gitbrent gitbrent added this to the 3.6.0 milestone Mar 31, 2021
@gitbrent
gitbrent merged commit 38f11a6 into gitbrent:master Apr 23, 2021
gitbrent added a commit that referenced this pull request Apr 23, 2021
gitbrent added a commit that referenced this pull request Apr 23, 2021
gitbrent added a commit that referenced this pull request Apr 23, 2021
@gitbrent

Copy link
Copy Markdown
Owner

Thanks @mmarkelov !

shbernal pushed a commit to shbernal/PptxGenJS that referenced this pull request Jul 8, 2026
shbernal pushed a commit to shbernal/PptxGenJS that referenced this pull request Jul 8, 2026
shbernal pushed a commit to shbernal/PptxGenJS that referenced this pull request Jul 8, 2026
shbernal pushed a commit to shbernal/PptxGenJS that referenced this pull request Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants