The number of squares along each dimension in the checkerboard pattern.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
For example, a value of 2 creates a checkerboard pattern of four squares (a 2 x 2 grid), where the top-left and bottom-right squares use the
color1 color and the other two squares use the
color2 color. A value of 4 creates a pattern of 16 squares (a 4 x 4 grid), and so on.