Scrawl-canvas v8
- Component test 002
Scrawl-canvas stack element components
This element has a canvas attached to it
Width
'n%'
n
Height
'n%'
n
Starts ('n%')
X:
Y:
Handles ('n%')
X:
Y:
Starts (n)
X:
Y:
Handles (n)
X:
Y:
Starts ('str')
X:
left
center
right
Y:
top
center
bottom
Handles ('str')
X:
left
center
right
Y:
top
center
bottom
Roll
Pitch
Yaw
Scale
Test purpose
Set a stack element to mimic the start, handle, dimensions and rotation values of another element
Check that the mimic element can be offset from the host element by a translate value
Set a stack element to pivot to another element
Check the attributes that allow a pivoted element to take into account the host element's handle and rotation values
Annotated code
Annotated component code