javascript - Draw user defined color rectangle -


I'm trying to draw a rectangle at the click of a button. The user can choose a color and then click on the button to draw a specific color rectangle. How to get this property When you click on the layer button in my Bela, you can get a rectangle on the canvas. If you uncheck the check box and click it again, you will get a rectangle in one place. I want to make different color rectangles every time. This code is a pen that describes the same color rectangle every time.

This is the code that I am trying to edit. It is now being painted with black color every time

your init3 Add the following code to

  var oMaterialCB = document.getElementById ("Pickcore"); Var sMaterial = oMaterialCB.options [oMaterialCB.selectedIndex] .text; Var sMaterialColor = oMaterialCB.options [oMaterialCB.selectedIndex] .value; M_iConnectirellindexx = AddToCB ('Layer List', SMART + 'Layer'); // X, Y, width, height var l_dYOfPrevLayer = document.getElementById ('TextLayer_ULy') value; Var Display_DY = display core (l_dYOfPrevLayer); //m_oSetup.Layers[m_iCurrentLayerIndex-1] .bottom-bordery ;; (0, display_dY, 640,100, smtrt); // Get the last box, update the index of that box and change the type of that box}  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -