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

color background of section #122

Closed
elminawim opened this issue Mar 18, 2019 · 7 comments
Closed

color background of section #122

elminawim opened this issue Mar 18, 2019 · 7 comments

Comments

@elminawim
Copy link

First of all thanks a lot for this great work..

I'd like to ask if it possible to add background color for section column..

thanks

@philprime
Copy link
Member

As of now, it is not possible.

One way of enabling this, would be adding a background color property to PDFSectionColumn and during calculations it creates a rectangle on each page the section is placed.

PR's are welcomed

@elminawim
Copy link
Author

Thank you very much for the quick reply ..
Can you explain more to me how to draw the rectangle on one third of the page in length ...
Can I type it over the rectangle?

@elminawim
Copy link
Author

i try func addLineSeparator but when increasing the width the rectangular becomes trends ..

is there other way to make rectangular as background..

Screen Shot 2019-03-20 at 12 41 11 PM

@philprime
Copy link
Member

This skewed line should be resolved due to #128

Background of sections and shape rendering are currently not imported, I might propose an enhancement

@philprime
Copy link
Member

@elminawim I created PDFGroup which also have the ability to add a dynamic shape to the background, or only a simple color.

For PDFSectionColumn I should be able to implement the same behaviour and I'll take another look at it

@philprime
Copy link
Member

Branch for development: feature/122-section-background-color

philprime pushed a commit that referenced this issue Jun 15, 2020
@philprime
Copy link
Member

Implemented in release 2.1.0

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

2 participants