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

Support for pattern fills #71

Merged
merged 4 commits into from
Apr 16, 2024
Merged

Support for pattern fills #71

merged 4 commits into from
Apr 16, 2024

Conversation

trevorld
Copy link
Owner

  • patternFill() wraps patternGrob() to return a
    grid::pattern() fill object (Utility that wraps grid::pattern() and patternGrob() #70).

  • update_alpha() updates fill colour and/or pattern transparency.

    • It is a fork of ggplot2::fill_alpha() by @teunbrand.
    • It does not depend on {ggplot2} or {scales}.
    • It does not throw an error with a length one list of a vector of multiple colours.
  • The "geometry" patterns (e.g. "circle", "stripe", etc.) now allow
    the fill to be pattern fills (Support pattern fill values #67).

* `update_alpha()` updates fill colour and/or pattern transparency.

  + It is a fork of `ggplot2::fill_alpha()` by @teunbrand.
  + It does not depend on `{ggplot2}` or `{scales}`.
  + It does not throw an error with a length one list of a vector of multiple colours.

progress on #67
* `patternFill()` wraps `patternGrob()` to return a
  `grid::pattern()` fill object

closes #70
* The "geometry" patterns (e.g. "circle", "stripe", etc.) now allow
  the `fill` to be pattern fills (#67).

closes #67
@trevorld trevorld merged commit b174bb7 into main Apr 16, 2024
3 checks passed
@trevorld trevorld deleted the v1.2 branch April 16, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant