Scrawl-canvas v8 - Canvas test 035

Pattern style functionality

The Block entity can be dragged around the <canvas> element

Pattern
 
Repeat
 
Matrix
Stretch X:
Skew X:
 
Shift X:
 
 
Stretch Y:
Skew Y:
 
Shift Y:
 

Block width
n%
n
Block height
n%
n
Handles ('n%')
X:
Y:
Handles (n)
X:
Y:
Offset ('n%')
X:
Y:
Offset (n)
X:
Y:
Roll
 
Scale
Flip-upend
 
Flip-reverse
 

Test purpose

Known issue: The Firefox browser has a longstanding bug where it only recognises the 'repeat' and 'no-repeat' values for the Pattern `repeat` attribute. Also, the 'no-repeat' value will produce faulty output.

Touch test: should work as expected

Annotated code