Last Modified: 2023-04-25

Canvas

PSD

Unit Test

Kwik4

index

genereated from editor.template.componetns/pageX/index.lua

{
    name = "pageX",
    components = {
      layers = {
        {  back={ } },
        {  painting={} },
        {  butBlue={ class={"button"}} },
        {  butWhite={class={"button"}} },
        {  butOrange={class={"button"}} },
        {  butCamera={class={"button"}} },
        {  butLarge={class={"button"}} },
        {  butMedium={class={"button"}} },
        {  bigCandice={class={"button"}} },
        { Candice={class = {"canvas"}},
      },
    },
    commands = {},
}

template

module

editor

// editor.ihdex:getTool() returns a component editor from id of editor.model

action commands

Please see design/project_model/commands/canvas and screenshot