Lively Kernel canvas
//
DraftCrayonColors40true
Thisdirectoryisfordrafting....20true
Wikicontroltruetrue
Object.subclass('CrayonColors');openMorphAs=function(m,name,optPos){oldMorph=$morph(name);if(oldMorph)oldMorph.remove();m.name=name;m.openInWorld(optPos);};target=newMorph.makeRectangle(newRectangle(0,0,50,50));openMorphAs(target,'testTargetMorph',pt(50,500))chooser=newColorPickerMorph(newRectangle(0,0,100,100),target,'setFill');openMorphAs(chooser,'testColorPickerMorph',pt(50,350))grayons=newCrayonColorChooserMorph(newRectangle(0,0,100,100));openMorphAs(grayons,'testColorChooser',pt(50,150));connect(grayons,'selectedColor',chooser,'setColor');10truetruefalse
truetrue
false0.43715851854651820.11
true
false
true
nullfalsetruenull
falsenulltruefalse
false
falsenullfalsefalsenullnullnullnullfalse
null
null76