squarePatterns: Square Patterns

squarePatternsR Documentation

Square Patterns

Description

Functions to create square patterns

Usage

squarePattern1(
  x0,
  x1,
  y0,
  y1,
  backgroundBorder = "black",
  background = "black",
  patternBorder = "black",
  foreground = "white",
  ...
)

squarePattern2(
  x0,
  x1,
  y0,
  y1,
  backgroundBorder = "black",
  background = "black",
  patternBorder = "black",
  foreground = "white",
  ...
)

Arguments

x0, x1, y0, y1

co-ordinates for the top, bottom, left and right of the square.

backgroundBorder, patternBorder

colour for the lines in the background and foreground.

foreground, background

colours for the foreground and background.

...

parameters passed to the component.

Details

Two functions that make square patterns.

Value

return a single component

See Also

Other patterns: checkPatterns, makePatternBlock(), patternBasics, patternNames(), stripePatterns, trianglePatterns

Examples

print(1+1)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.