@@ -56,7 +56,7 @@ Description:
5656Creates a canvas of the given size for the other handlers to use.
5757*/
5858
59- public handler canvasCreate(in pWidth as integer , in pHeight as integer ) as undefined
59+ public handler canvasCreate(in pWidth as Integer , in pHeight as Integer ) as undefined
6060 -- Create a new canvas, this will release any previous canvas.
6161 put a new canvas with size [ pWidth, pHeight ] into sCanvas
6262 -- Set the paint to opaque black and fill the whole area.
@@ -85,7 +85,7 @@ pAlpha: The alpha value of the color to set.
8585Description:
8686Sets the current color of the canvas to the given RGBA value.
8787*/
88- public handler canvasSetColor(in pRed as real , in pGreen as real , in pBlue as real , in pAlpha as real ) as undefined
88+ public handler canvasSetColor(in pRed as Real , in pGreen as Real , in pBlue as Real , in pAlpha as Real ) as undefined
8989 set the paint of sCanvas to solid paint with color [pRed, pGreen, pBlue, pRed]
9090end handler
9191
@@ -97,7 +97,7 @@ pRadius: The radius of the circle.
9797Description:
9898Fills a circle of the given radius at the given position in the canvas.
9999*/
100- public handler canvasFillCircle(in pX as real , in pY as real , in pRadius as real ) as undefined
100+ public handler canvasFillCircle(in pX as Real , in pY as Real , in pRadius as Real ) as undefined
101101 fill circle path centered at point [pX, pY] with radius pRadius on sCanvas
102102end handler
103103
@@ -108,7 +108,7 @@ pObjectId: A string which is an object chunk referring to an image.
108108Description:
109109This handler copies the current contents of the canvas to the specified image object.
110110*/
111- public handler canvasApplyToImage(in pObjectId as string ) as undefined
111+ public handler canvasApplyToImage(in pObjectId as String ) as undefined
112112 variable tObject as ScriptObject
113113
114114 -- Resolving the script object gets a weak reference to the specified
0 commit comments