Jamie Villeneuve
Articles
-
sb.getControlAttrs
sb.getControlAttrs(controlName, tags ...) Get properties for a control. Key name is the name of the control or a variable. Tags can be a list of the following values: x, y, width, height, hidden, ...
-
canvas.strokeEllipse
canvas.stroke_ellipse(x, y, radius_x, radius_y, rotation, color) Draw a stroked ellipse defined by the center position (x,y), with x radius radius_x, y radius radius_y, rotation angle rotation, an...
-
sb.getData
sb.getData(key[, key2, ...]) Gets one or more values from the data manager. Each argument to the function is interpreted as a data manager key whose value should be extracted from the data manager...
-
VIDEO: Flipbook Animations
00:35 Importing images 1:00 folder structure 1:20 control variable 1:54 creating a new Lua file 2:15 animation API 3:50 bind an action 4:22 creating button animation 10:12 re...
-
sb.getCanvas
sb.getCanvas(name) Get a canvas object handle by name. The canvas object has the following properties that can be accessed: width: Returns an integer that is the width of the canvas. This is a rea...
-
sb.getGroupAttrs
sb.getGroupAttrs(groupName, tags ...) Get properties for a group. Key name is the name of the group or a variable. Tags can be a list of the following values: x y hidden A JS object with the resul...
-
sb.getLayerAttrs
sb.getLayerAttrs(layer_name, tags...) Get properties for a layer instance associated with a particular screen. The layer_name specifies either the fully qualified name of a layer instance using th...
-
sb.getStringSize
sb.getStringSize(font, font_size, string, width, data) Calculate the area in pixels which the given string will occupy on the screen. Parameters: font - The name of the font to render in ...