Skip to main content
Version: 9.0.2

Storyboard Javascript API

Storyboard Javascript API Documentation.

πŸ“„οΈsb.cloneObject

Create a new control, table or group (newObjectName) within an existing parent (parentName) by copying all of the properties of an existing object (referenceObjectName). This new object will have all of the same actions, variables and it's current state will match the state of the reference object that is being copied. In the case of cloning groups, all of the reference group's controls will be cloned into the new group. Currently only controls and groups are supported as source reference objects.

πŸ“„οΈsb.polyString

This is a higher performance function for generating a polygon string based on a set of numeric data points maintained in JS arrays.In the two argument form, the function receives as inputs two JS arrays whose content represents the numeric x and y data points to be converted to a string.In the single argument form, the function receives as input a single JS array whose content are objects with an "x" and "y" member values.The string returned is designed to be compatible with the Storyboard polygon plugin and is in the form of X1Y2 ...