Called when the pattern is initialized or resized. Use this to set up any internal state or precompute values.
the rendering region including visible area and padding.
Called when the pattern is initialized or resized. Use this to set up any internal state or precompute values.