It is opened from the "Draw" tab.
Name | Method name. This name must not be identical with another existing method of this object. |
---|---|
Initial method content | Specifies the initial content of the method script when it is created. |
Parameters | The names of method parameters separated by comma, for example par1,par2,par3. If not set, then the method is without parameters. |
Image selection | It is used for PmgCanvas image selection in the "Pmg objects preconfigurations" window. |
Image drawing | It is used for opening the window of Canvas editor. |
Insert calling of this method to the end of 'onDraw' event | If checked, then a code is added automatically to the end of 'onDraw' method that sets the necessary parameters and calls the event. |
Image position | Specifies image position and size relative to the area of the whole Pmg object. |
Border width | Image border width. Entered in pixels or in percentage relative to the whole Pmg object size. |
x | X coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole Pmg object. |
y | Y coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole Pmg object. |
dx | Image width. Entered in pixels or in percentage relative to the size of whole Pmg object. |
dy | Image height. Entered in pixels or in percentage relative to the size of whole Pmg object. |