Package: gridpattern 1.3.0-1

gridpattern: 'grid' Pattern Grobs

Provides 'grid' grobs that fill in a user-defined area with various patterns. Includes enhanced versions of the geometric and image-based patterns originally contained in the 'ggpattern' package as well as original 'pch', 'polygon_tiling', 'regular_polygon', 'rose', 'text', 'wave', and 'weave' patterns plus support for custom user-defined patterns.

Authors:Trevor L. Davis [aut, cre], Mike FC [aut], ggplot2 authors [ctb]

gridpattern_1.3.0-1.tar.gz
gridpattern_1.3.0-1.zip(r-4.5)gridpattern_1.3.0-1.zip(r-4.4)gridpattern_1.3.0-1.zip(r-4.3)
gridpattern_1.3.0-1.tgz(r-4.4-any)gridpattern_1.3.0-1.tgz(r-4.3-any)
gridpattern_1.3.0-1.tar.gz(r-4.5-noble)gridpattern_1.3.0-1.tar.gz(r-4.4-noble)
gridpattern_1.3.0-1.tgz(r-4.4-emscripten)gridpattern_1.3.0-1.tgz(r-4.3-emscripten)
gridpattern.pdf |gridpattern.html
gridpattern/json (API)
NEWS

# Install 'gridpattern' in R:
install.packages('gridpattern', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/trevorld/gridpattern/issues

On CRAN:

8.11 score 31 stars 4 packages 6 scripts 6.8k downloads 43 exports 19 dependencies

Last updated 1 months agofrom:e61edadfd0. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winOKNov 10 2024
R-4.5-linuxOKNov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

Exports:alphaMaskGrobclippingPathGrobgrid.patterngrid.pattern_ambientgrid.pattern_aRtsygrid.pattern_circlegrid.pattern_crosshatchgrid.pattern_fillgrid.pattern_gradientgrid.pattern_imagegrid.pattern_magickgrid.pattern_nonegrid.pattern_pchgrid.pattern_placeholdergrid.pattern_plasmagrid.pattern_polygon_tilinggrid.pattern_regular_polygongrid.pattern_rosegrid.pattern_stripegrid.pattern_textgrid.pattern_wavegrid.pattern_weaveguess_has_R4.1_featuresmean_colnames_aRtsynames_hexnames_magicknames_magick_intensitynames_magick_stripenames_patternnames_placeholdernames_polygon_tilingnames_squarenames_weavepattern_hexpattern_squarepattern_weavepatternFillpatternGrobreset_image_cachestar_anglestar_scaleupdate_alpha

Dependencies:cachemclassclassIntDBIe1071fastmapglueKernSmoothmagrittrMASSmemoisepngproxyRcpprlangs2sfunitswk

Developing Patterns

Rendered fromdeveloping-patterns.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2024-04-22
Started: 2021-11-29

Polygon Tiling Examples

Rendered fromtiling.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-01-12
Started: 2021-06-07

Readme and manuals

Help Manual

Help pageTopics
gridpattern: 'grid' Pattern Grobsgridpattern-package gridpattern
Mask grob using another grob to specify the (alpha) maskalphaMaskGrob
Clip grob using another grob to specify the clipping pathclippingPathGrob
Create patterned grobs by pattern namegrid.pattern names_pattern patternGrob
Ambient patterned grobsgrid.pattern_ambient
Grobs with patterns powered by the aRtsy packagegrid.pattern_aRtsy names_aRtsy
Circle patterned grobsgrid.pattern_circle
Crosshatch patterned grobsgrid.pattern_crosshatch
Grobs with a simple fill patterngrid.pattern_fill
Gradient patterned grobsgrid.pattern_gradient
Image patterned grobsgrid.pattern_image
Magick patterned grobsgrid.pattern_magick names_magick names_magick_intensity names_magick_stripe
Grobs without any patterngrid.pattern_none
Plotting character patterned grobsgrid.pattern_pch
Placeholder image patterned grobsgrid.pattern_placeholder names_placeholder
Plasma patterned grobsgrid.pattern_plasma
Polygon tiling patterned grobsgrid.pattern_polygon_tiling names_polygon_tiling
Regular polygon patterned grobsgrid.pattern_regular_polygon
Rose curve patterned grobsgrid.pattern_rose
Stripe patterned grobsgrid.pattern_stripe
Text character patterned grobsgrid.pattern_text
Wave patterned grobsgrid.pattern_wave
Weave patterned grobsgrid.pattern_weave
Guess whether "active" graphics device supports the grid graphics features introduced in R v4.1.guess_has_R4.1_features
Compute average colormean_col
Hex pattern matrixnames_hex pattern_hex
Square pattern matrixnames_square pattern_square
Weave pattern matrixnames_weave pattern_weave
Create patterned fills by pattern namepatternFill
Reset 'gridpattern' image cachereset_image_cache
Compute regular star polygon scale or anglesstar_angle star_scale
Update colour and/or pattern transparencyupdate_alpha