Unique identifier of each art
Default z-index of art
Needs to be between 1-9 (including), otherwise it can lead to undefined behavior.
When locked, decreases by one.
Note: This will be replaced with proper object ordering in the near future, however it is highly suggested to override use property until then.
Marks, whether art is locked
TODO: [✨] Maybe add is prefix
Opacity of an art
Value is automatically used by ArtShell when rendering
Note: only works on 2D arts
Object rotation
Translation vector of art
Position of bottom left corner of art (absolute including shift
)
Value is used mostly when making selection
This is for backwards compatibility
TODO: Is this working? https://collboard.com/aubppdztrgbwa3uyvqu2
Position of top right corner of art (absolute including shift
)
Value is used mostly when making selection
Get the transform which is created from a deprecated shift
Set the transform which is converted and saved as a deprecated shift
Function determining, whether a point is near the art
Default implementation uses square bounding box
Move art to by vector (= relative)
Function called when object needs to be rendered on screen
Move art to certain vector (= absolute)