zimjs 17.3.4 → 18.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs.md CHANGED
@@ -1,4 +1,4 @@
1
- ZIM DOCS 017
1
+ ZIM DOCS 018
2
2
 
3
3
  http://zimjs.com/docs.html
4
4
  http://zimjs.com/updates.html
@@ -89,7 +89,7 @@ MODULE 1: ZIM FRAME
89
89
  ------------------------------------
90
90
 
91
91
  ************************************
92
- [85188] Frame(scaling, width, height, color, outerColor, ready, assets, path, progress, ticker, rollover, touch, scrollTop, align, valign, canvasID, rollPerSecond, delay, canvasCheck, gpu, gpuObj, nextFrame, nextStage, allowDefault, loadFailObj, sensors, retina, mouseMoveOutside, captureMouse, shim, maxConnections, maxNum, singleTouch)
92
+ [86277] Frame(scaling, width, height, color, outerColor, ready, assets, path, progress, ticker, rollover, touch, scrollTop, align, valign, canvasID, rollPerSecond, delay, canvasCheck, gpu, gpuObj, nextFrame, nextStage, allowDefault, loadFailObj, retina, mouseMoveOutside, captureMouse, shim, maxConnections, maxNum, singleTouch)
93
93
 
94
94
  Frame
95
95
  zim class - extends a createjs EventDispatcher
@@ -469,6 +469,7 @@ loadAssets(assets, path, progress, xhr, time, loadTimeout, outputAudioSprite, cr
469
469
  It is recommended to use the Queue any time you use multiple LoadAssets() calls at the same time
470
470
  You still access assets with asset() as outlined below whether you use the Queue or not
471
471
  asset(file, width, height, maxNum) - access an asset such as an image or sound - see loadAssets() for more on types
472
+ note: asset() is a general alternative to new Pic(), new Aud(), new Dat() - also see new Vid() and new SVG()
472
473
  file is the string name or url to the file
473
474
  if the asset was loaded with a string then use the string (less the path if provided)
474
475
  if the asset was loaded with a full URL then use the full URL here
@@ -694,7 +695,7 @@ EVENTS
694
695
  and then perhaps constrain the value - here the scale is constrained between .5 and 5
695
696
  note - when changing scale, it is better to multiply by a factor rather than add to the scale
696
697
  eg. circle.scale = constrain(circle.scale*(sign(e.deltaY)>0?.75:1.25), .5, 5);
697
- "deviceorientation" - MUST SET Frame sensors parameter to true
698
+ "deviceorientation" - turned on when using ZIM PermissionAsk()
698
699
  fired as device orientation changes:
699
700
  eventObject.rotation.x (beta in HTML specs) holds rotation about the x axis between -180 and 180 (tipped forward or backward)
700
701
  eventObject.rotation.y (gamma in HTML specs) holds rotation about the y axis between -90 and 90 (tipped left or right)
@@ -703,14 +704,16 @@ EVENTS
703
704
  note also that beta, gamma and alpha from the HTML 5 specs are also provided
704
705
  eg.
705
706
  var label = new Label().center();
707
+ // Note: MUST USE PermissionAsk()
706
708
  F.on("deviceorientation", function(e) {
707
709
  label.text = e.rotation.x +","+ e.rotation.y +","+ e.rotation.z;
708
710
  S.update();
709
711
  });
710
- "devicemotion" - MUST SET Frame sensors parameter to true
712
+ "devicemotion" - turned on when using ZIM PermissionAsk()
711
713
  fired on moving mobile device - like a tilt or shake - eventObject.acceleration holds x, y and z properties of motion
712
714
  eg.
713
715
  var label = new Label().center();
716
+ // Note: MUST USE PermissionAsk()
714
717
  F.on("devicemotion", function(e) {
715
718
  label.text = e.acceleration.x +","+ e.acceleration.y +","+ e.acceleration.z;
716
719
  S.update();
@@ -738,7 +741,7 @@ MORE: http://zimjs.com/code/bits.html?title=Frame
738
741
 
739
742
 
740
743
  ************************************
741
- [88035] Pic(file, width, height, noCors, style, group, inherit)
744
+ [89124] Pic(file, width, height, noCors, style, group, inherit)
742
745
 
743
746
  Pic
744
747
  zim class - extends a zim.Container which extends a createjs.Container
@@ -921,7 +924,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
921
924
 
922
925
 
923
926
  ************************************
924
- [88295] Aud(file, volume, loop, loopCount, pan, offset, delay, interrupt, maxNum, style, group, inherit)
927
+ [89384] Aud(file, volume, loop, loopCount, pan, offset, delay, interrupt, maxNum, style, group, inherit)
925
928
 
926
929
  Aud
927
930
  zim class - extends a createjs.EventDispatcher
@@ -1169,7 +1172,7 @@ loop - dispatched when the sound loops (but not at end of last loop - that is co
1169
1172
 
1170
1173
 
1171
1174
  ************************************
1172
- [88663] Vid(file, width, height, volume, loop, align, valign, type, style, group, inherit)
1175
+ [89752] Vid(file, width, height, volume, loop, align, valign, type, style, group, inherit)
1173
1176
 
1174
1177
  Vid
1175
1178
  zim class - extends a zim.Container which extends a createjs.Container
@@ -1382,7 +1385,86 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
1382
1385
 
1383
1386
 
1384
1387
  ************************************
1385
- [89051] SVG(svg, width, height, bitmap, splitTypes, geometric, showControls, interactive, style, group, inherit)
1388
+ [90146] Dat(file)
1389
+
1390
+ Dat
1391
+ zim class - extends a createjs EventDispatcher
1392
+
1393
+ DESCRIPTION
1394
+ Use Dat() to load data files like text, csv, XML and json.
1395
+ Then use the data property to get the data.
1396
+
1397
+ Before ZIM version ZIM 018 the Frame asset() method was used for data
1398
+ and asset(file) can still be used - the Dat() class is a wrapper class to match Pic(), Aud(), etc.
1399
+ It is just a dozen lines long.
1400
+
1401
+ PRELOADING
1402
+ It is recommended that you preload data files using the Frame() assets and path parameters.
1403
+ After the frame loads, data files can also be loaded on demand with F.loadAssets().
1404
+
1405
+ LAZY-LOADING
1406
+ The data file can be lazy loaded at which point the data property will be available in a complete or ready event
1407
+
1408
+ Dat will give a "ready" and a "complete" event when loaded.
1409
+ These events are triggered 20 ms after making the object if the object is already preloaded.
1410
+
1411
+ See: https://zimjs.com/018/dat.html
1412
+
1413
+ NOTE: as of ZIM 5.5.0 the zim namespace is no longer required (unless zns is set to true before running zim)
1414
+
1415
+ EXAMPLE
1416
+ // loading a text file with some text
1417
+ new Frame(FIT, 1024, 768, light, dark, ready, "data.txt", "assets/");
1418
+ function ready() {
1419
+ const data = new Dat("data.txt").data;
1420
+ new Label(data).center();
1421
+ }
1422
+
1423
+ EXAMPLE
1424
+ // loading a JSON file with {"test":"complete"}
1425
+ new Frame(FIT, 1024, 768, light, dark, ready, "data.json", "assets/");
1426
+ function ready() {
1427
+ const data = new Dat("data.json").data;
1428
+ new Label(data.test).center(); // will say complete
1429
+ }
1430
+
1431
+ EXAMPLE
1432
+ // loading an XML file with <test>complete</test>
1433
+ new Frame(FIT, 1024, 768, light, dark, ready, "data.xml", "assets/");
1434
+ function ready() {
1435
+ const data = new Dat("data.xml").data;
1436
+ // also children property and getAttribute() method, etc.
1437
+ new Label(data.innerHTML).center(); // will say complete
1438
+ }
1439
+ // also see https://zimjs.com/018/dat.html for looping through multiple tags
1440
+
1441
+ EXAMPLE
1442
+ // lazy loading a text file with some text
1443
+ new Frame(FIT, 1024, 768, light, dark, ready);
1444
+ function ready() {
1445
+ const text = new Dat("assets/data.txt");
1446
+ data.on("complete", ()=>{
1447
+ new Label(text.data).center();
1448
+ });
1449
+ }
1450
+
1451
+ PARAMETERS
1452
+ file - the file provided to the Frame class (or Frame loadAssets method) assets parameter
1453
+ or if not preloaded then the file to lazy load - then must wait for the complete or ready event
1454
+
1455
+ PROPERTIES
1456
+ type - holds the class name as a String
1457
+ data - the data such as the text for a txt file or will be a JSON parsed object for a JSON file
1458
+
1459
+ EVENTS
1460
+ dispatches a "complete" and a "ready" event
1461
+ used primarily for lazy loading of the file
1462
+ if preloaded then the Frame or loadAsssets ready event is all that is needed
1463
+ there will be a complete or ready event on the Dat() dispatched 20 ms later for compatibility
1464
+
1465
+
1466
+ ************************************
1467
+ [90258] SVG(svg, width, height, bitmap, splitTypes, geometric, showControls, interactive, style, group, inherit)
1386
1468
 
1387
1469
  SVG
1388
1470
  zim class - extends a zim.Container which extends a createjs.Container
@@ -1563,7 +1645,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
1563
1645
 
1564
1646
 
1565
1647
  ************************************
1566
- [89395] Speech()
1648
+ [90604] Speech()
1567
1649
 
1568
1650
  Speech
1569
1651
  zim class - extends a createjs.EventDispatcher
@@ -1657,13 +1739,14 @@ dispatches "result" when either as each word is spoken if listen() is used (inte
1657
1739
  and a confidence property that is a ratio (0-1) for confidence in the result
1658
1740
  Note: iOS (at this time) does not support the listen() and result event
1659
1741
  dispatches "speechend" events when listen() has detected an end to the talking
1742
+ dispatches "start", "end" events
1743
+ dispatches a "boundary" event between words
1660
1744
  dispatches an "error" event if no words are spoken, etc. the event object has an error property with the error message
1661
- dispatches "start", "end" and "error" on the utterance object returned by talk()
1662
- Note: there are more features to the Web Speech API - see the HTML docs
1745
+ Note: there are more features to the Web Speech API - see the HTML docs
1663
1746
 
1664
1747
 
1665
1748
  ************************************
1666
- [89614] Fonts - loaded into Frame()
1749
+ [90825] Fonts - loaded into Frame()
1667
1750
 
1668
1751
  Fonts
1669
1752
  For a Label object or components with labels
@@ -1719,7 +1802,7 @@ F.on("complete", ()=>{
1719
1802
 
1720
1803
 
1721
1804
  ************************************
1722
- [89677] Keys - keyboard methods and events
1805
+ [90888] Keys - keyboard methods and events
1723
1806
 
1724
1807
  Keys
1725
1808
  "keydown" and "keyup" Frame events
@@ -1731,7 +1814,7 @@ and a keyboardMessage() method to prompt for keyboard interactivity.
1731
1814
  When an app is first loaded it cannot receive keyboard events until it is interacted with.
1732
1815
  Interaction must be a mousedown or click - not just an over or move interaction.
1733
1816
  Often, we will make an intro Pane() or play Button() for a game, for instance, before playing sounds.
1734
- In ZIM 014 we added a keyboardMessage() method to prompt for an interaction so key events are activated.
1817
+ In ZIM 014 we added a keyboardMessage() method to the Frame to prompt for an interaction so key events are activated.
1735
1818
 
1736
1819
  Also see ZIM Keyboard(), TextEditor(), TextInput() and MotionController() for various keyboard functionality.
1737
1820
 
@@ -1747,7 +1830,7 @@ F.on("keydown", e=>{
1747
1830
 
1748
1831
 
1749
1832
  ************************************
1750
- [89708] Cursors - custom cursors
1833
+ [90919] Cursors - custom cursors
1751
1834
 
1752
1835
  Cursors
1753
1836
  Frame property
@@ -1782,7 +1865,7 @@ const rect = new Rectangle(500,500,red).center().cur("box"); // apply the box cu
1782
1865
 
1783
1866
 
1784
1867
  ************************************
1785
- [89746] Tilt - device motion and orientation events
1868
+ [90957] Tilt - device motion and orientation events
1786
1869
 
1787
1870
  Tilt
1788
1871
  "devicemotion" and "deviceorientation" Frame events
@@ -1791,55 +1874,53 @@ DESCRIPTION
1791
1874
  The Frame has a "devicemotion" event to capture device tilt
1792
1875
  and a "deviceorientation" to capture device rotation (like a compass)
1793
1876
 
1794
- Also see the PermissionAsk() class which will handle asking for permission.
1877
+ Also see the PermissionAsk() class which will handle asking for permission on iOS devices.
1795
1878
 
1796
1879
  NOTE:
1797
1880
  For either event the Frame sensors parameter MUST be set to true
1798
1881
 
1799
1882
  EXAMPLE
1800
- // DEVICE ORIENTATION - gives angle of device in all 3 dimensions
1801
- // Note: this is NOT an orientation event to see if phone is portrait or landscape (see Frame orientation event)
1802
- // Note: must set Frame() sensors true - for example:
1803
- // new Frame({scaling:FIT, width:1024, height:768, color:white, outerColor:dark, ready:ready, sensors:true});
1883
+ // for capturing tilt on device (rotation about an axis)
1884
+ // also SEE the PermissionAsk example below
1885
+ // also set Frame sensors parameter to true
1886
+ // and be on a mobile device
1887
+ const label = new Label().center();
1888
+ F.on("deviceorientation", e=>{
1889
+ label.text = e.rotation.x +","+ e.rotation.y +","+ e.rotation.z;
1890
+ S.update();
1891
+ });
1804
1892
 
1805
- const permissionType = "deviceorientation";
1893
+ EXAMPLE
1894
+ // on iOS, the sensors must be allowed first - this example works for all devices
1895
+ const label = new Label().center();
1896
+ const permissionType = "deviceorientation"; // or "devicemotion"
1806
1897
  const ask = new PermissionAsk(init, permissionType);
1807
- function init(yes) {
1808
- const errorPane = new Pane("SENSOR not available",yellow);
1809
- if (yes) { // the user answers yes to the PermissionAsk
1810
- // use the sensors
1811
- const label = new Label("test on mobile").centerReg();
1898
+ function init(yes) {
1899
+ // if the user answers yes to the PermissionAsk
1900
+ const errorPane = new Pane("SENSOR not available",yellow);
1901
+ if (yes) {
1902
+ // use the sensors
1812
1903
  F.on("deviceorientation", e=>{
1813
- // use the sensors
1814
- label.text = label.text = "x: "+decimals(e.rotation.x) +"\ny: "+ decimals(e.rotation.y) +"\nz: "+ decimals(e.rotation.z);
1904
+ label.text = e.rotation.x +","+ e.rotation.y +","+ e.rotation.z;
1815
1905
  S.update();
1816
1906
  });
1817
- } else { // the user answered no to PermissionAsk dialog
1907
+ S.update();
1908
+ } else { // answered no to PermissionAsk dialog
1818
1909
  errorPane.show();
1819
1910
  }
1820
1911
  }
1821
1912
 
1822
1913
  EXAMPLE
1823
- // DEVICE MOTION - gives accelerometer values in all 3 dimensions
1824
- // Note: must set Frame() sensors true - for example:
1825
- // new Frame({scaling:FIT, width:1024, height:768, color:white, outerColor:dark, ready:ready, sensors:true});
1826
-
1827
- const permissionType = "devicemotion";
1828
- const ask = new PermissionAsk(init, permissionType);
1829
- function init(yes) {
1830
- const errorPane = new Pane("SENSOR not available",yellow);
1831
- if (yes) { // the user answers yes to the PermissionAsk
1832
- // use the sensors
1833
- const label = new Label("test on mobile").centerReg();
1834
- F.on("devicemotion", e=>{
1835
- // use the sensors
1836
- label.text = "x: "+decimals(e.acceleration.x, 3) +"\ny: "+ decimals(e.acceleration.y, 3) +"\nz: "+ decimals(e.acceleration.z, 3);
1837
- S.update();
1838
- });
1839
- } else { // the user answered no to PermissionAsk dialog
1840
- errorPane.show();
1841
- }
1842
- }
1914
+ // for shaking motion - ALSO see the PermissionAsk example above for iOS
1915
+ // and replace "deviceorientation" with "devicemotion"
1916
+ // and replace e.rotation.x, etc. with e.acceleration.x etc.
1917
+ // also set Frame sensors parameter to true
1918
+ // and be on a mobile device
1919
+ const label = new Label().center();
1920
+ F.on("devicemotion", e=>{
1921
+ label.text = e.acceleration.x +","+ e.acceleration.y +","+ e.acceleration.z;
1922
+ S.update();
1923
+ });
1843
1924
 
1844
1925
  EVENTS
1845
1926
  "devicemotion" - for tilt (also set Frame sensors parameter to true)
@@ -1854,7 +1935,7 @@ EVENTS
1854
1935
 
1855
1936
 
1856
1937
  ************************************
1857
- [89822] PermissionAsk(callback, permissionType, color, backgroundColor, style, group, inherit)
1938
+ [91032] PermissionAsk(callback, permissionType, color, backgroundColor, style, group, inherit)
1858
1939
 
1859
1940
  PermissionAsk
1860
1941
  zim class - extends a zim.Pane which extends a zim.Container
@@ -1864,16 +1945,17 @@ A circular confirmation widget to ask the user if they want a permission for iOS
1864
1945
  For some iOS permissions, the app needs to be interactive with first before permission can be asked!
1865
1946
  This is for iOS only - if not in iOS then will just pass through the test.
1866
1947
 
1867
- NOTE: this started as SensorAsk but the class has been adjusted to handle other permissions and the name has been changed in ZIM 016
1948
+ Also adds Frame deviceorientation and devicemotion events for a matching permissionType.
1949
+ Pre ZIM 018, this was done with a sensors parameter on the Frame.
1950
+ The sensors parameter has now been removed and the events are handled with PermissionAsk.
1868
1951
 
1869
- NOTE: for deviceorientation and devicemotion the Frame sensors parameter must be set to true
1952
+ NOTE: this started as SensorAsk but the class has been adjusted to handle other permissions and the name has been changed in ZIM 016
1870
1953
 
1871
1954
  NOTE: as of ZIM 5.5.0 the zim namespace is no longer required (unless zns is set to true before running zim)
1872
1955
 
1873
1956
  EXAMPLE
1874
1957
  // DEVICE ORIENTATION - gives angle of device in all 3 dimensions
1875
1958
  // Note: this is NOT an orientation event to see if phone is portrait or landscape (see Frame orientation event)
1876
- // Note: must set Frame() sensors true - for example:
1877
1959
  // new Frame({scaling:FIT, width:1024, height:768, color:white, outerColor:dark, ready:ready, sensors:true});
1878
1960
 
1879
1961
  const permissionType = "deviceorientation";
@@ -1882,7 +1964,7 @@ function init(yes) {
1882
1964
  const errorPane = new Pane("SENSOR not available",yellow);
1883
1965
  if (yes) { // the user answers yes to the PermissionAsk
1884
1966
  // use the sensors
1885
- const label = new Label("test on mobile").centerReg();
1967
+ const label = new Label("on mobile").centerReg();
1886
1968
  F.on("deviceorientation", e=>{
1887
1969
  // use the sensors
1888
1970
  label.text = label.text = "x: "+decimals(e.rotation.x) +"\ny: "+ decimals(e.rotation.y) +"\nz: "+ decimals(e.rotation.z);
@@ -1895,7 +1977,6 @@ function init(yes) {
1895
1977
 
1896
1978
  EXAMPLE
1897
1979
  // DEVICE MOTION - gives accelerometer values in all 3 dimensions
1898
- // Note: must set Frame() sensors true - for example:
1899
1980
  // new Frame({scaling:FIT, width:1024, height:768, color:white, outerColor:dark, ready:ready, sensors:true});
1900
1981
 
1901
1982
  const permissionType = "devicemotion";
@@ -1904,7 +1985,7 @@ function init(yes) {
1904
1985
  const errorPane = new Pane("SENSOR not available",yellow);
1905
1986
  if (yes) { // the user answers yes to the PermissionAsk
1906
1987
  // use the sensors
1907
- const label = new Label("test on mobile").centerReg();
1988
+ const label = new Label("on mobile").centerReg();
1908
1989
  F.on("devicemotion", e=>{
1909
1990
  // use the sensors
1910
1991
  label.text = "x: "+decimals(e.acceleration.x, 3) +"\ny: "+ decimals(e.acceleration.y, 3) +"\nz: "+ decimals(e.acceleration.z, 3);
@@ -1939,8 +2020,8 @@ PARAMETERS - accepts ZIM DUO regular parameters in order or a configuration obje
1939
2020
  callback - the function to callback when permission is accepted
1940
2021
  if the permissionType is deviceorientation or devicemotion this will receive true for accept or false for no permission
1941
2022
  if the permissionType is audio, video or audiovideo this will receive a stream if accepted or false if not
1942
- for not iOS, the system permissions will appear if needed
1943
- for iOS the PermissionAsk Pane will be shown and then system permissions
2023
+ for not iOS, the system permissions will appear
2024
+ for iOS the PermissionAsk Pane will be shown and the system permissions
1944
2025
  in all cases, the callback will be called on result
1945
2026
  the parameter given to the callback will be true (sensors) or a media stream (mic / cam) or false if not accepted
1946
2027
  permissionType - (default "deviceorientation") the string deviceorientation, devicemotion, mic, cam, or miccam
@@ -1981,7 +2062,7 @@ alpha, cursor, shadow, name, mouseChildren, mouseEnabled, parent, numChildren, e
1981
2062
 
1982
2063
 
1983
2064
  ************************************
1984
- [90081] Colors - red, salmon, orange, green, pink, blue, brown, yellow, purple, interstellar, black, darker, licorice, dark, charcoal, grey, gray, granite, tin, pewter, silver, fog, mist, light, moon, lighter, white, faint, clear
2065
+ [91315] Colors - red, salmon, orange, green, pink, blue, brown, yellow, purple, interstellar, black, darker, licorice, dark, charcoal, grey, gray, granite, tin, pewter, silver, fog, mist, light, moon, lighter, white, faint, clear
1985
2066
 
1986
2067
  Colors - red, salmon, orange, green, pink, blue, brown, yellow, purple, interstellar, black, darker, licorice, dark, charcoal, grey, gray, granite, tin, pewter, silver, fog, mist, light, moon, lighter, wh¡te, faint, clear
1987
2068
  zim constants (lowercase)
@@ -2043,7 +2124,7 @@ new Circle(100, blue.toColor(red, .2)).center();
2043
2124
 
2044
2125
 
2045
2126
  ************************************
2046
- [90184] Constants - FIT, FILL, FULL, LEFT, RIGHT, CENTER, MIDDLE, START, END, TOP, BOTTOM, OVER, UNDER, HORIZONTAL, VERTICAL, BOTH, RANDOM, RADIAL, UP, DOWN, NEXT, PREV, AUTO, DEFAULT, ALL, NONE, AVE, GET, POST, LOCALSTORAGE, SOCKET, TO, FROM, BOTH, SINE, SQUARE, TRIANGLE, SAW, ZAP, IGNORE
2127
+ [91418] Constants - FIT, FILL, FULL, LEFT, RIGHT, CENTER, MIDDLE, START, END, TOP, BOTTOM, OVER, UNDER, HORIZONTAL, VERTICAL, BOTH, RANDOM, RADIAL, UP, DOWN, NEXT, PREV, AUTO, DEFAULT, ALL, NONE, AVE, GET, POST, LOCALSTORAGE, SOCKET, TO, FROM, BOTH, SINE, SQUARE, TRIANGLE, SAW, ZAP, IGNORE
2047
2128
 
2048
2129
  Constants - FIT, FILL, FULL, LEFT, RIGHT, CENTER, MIDDLE, START, END, TOP, BOTTOM, OVER, UNDER, HORIZONTAL, VERTICAL, BOTH, RANDOM, RADIAL, UP, DOWN, NEXT, PREV, AUTO, DEFAULT, ALL, NONE, AVE, GET, POST, LOCALSTORAGE, SOCKET, TO, FROM, BOTH, SINE, SQUARE, TRIANGLE, SAW, ZAP, IGNORE
2049
2130
  zim constants
@@ -2054,7 +2135,7 @@ These DO NOT require the zim namespace, even if zns=true is set or if using node
2054
2135
  These are all equal to strings with lowercase values.
2055
2136
  So using TOP is the same as using "top"
2056
2137
 
2057
- Positioning: FIT, FILL, FULL, LEFT, RIGHT, CENTER, MIDDLE, START, END, TOP, BOTTOM, OVER, UNDER, HORIZONTAL, VERTICAL, BOTH, RANDOM, RADIAL, UP, DOWN, NEXT, PREV, AUTO, DEFAULT, ALL, NONE, AVE
2138
+ Positioning: FIT, FILL, FULL, LEFT, RIGHT, CENTER, MIDDLE, JUSTIFY, START, END, TOP, BOTTOM, OVER, UNDER, HORIZONTAL, VERTICAL, BOTH, RANDOM, RADIAL, UP, DOWN, NEXT, PREV, AUTO, DEFAULT, ALL, NONE, AVE
2058
2139
  Data: GET, POST, LOCALSTORAGE, SOCKET, TO, FROM, BOTH
2059
2140
  Sound: SINE, SQUARE, TRIANGLE, SAW, ZAP
2060
2141
  Style: IGNORE
@@ -2072,7 +2153,7 @@ new Tip("hello", "right", "middle").show();
2072
2153
 
2073
2154
 
2074
2155
  ************************************
2075
- [90255] Globals - F, S, W, H, M
2156
+ [91490] Globals - F, S, W, H, M
2076
2157
 
2077
2158
  Globals - F, S, W, H, M
2078
2159
  zim globals
@@ -2150,14 +2231,14 @@ MODULE 2: ZIM DISPLAY
2150
2231
  ------------------------------------
2151
2232
 
2152
2233
  ************************************
2153
- [09036] Coordinates(canvasID)
2234
+ [09038] Coordinates(canvasID)
2154
2235
 
2155
2236
  Helper functions for localToGlobal, globalToLocal and localToLocal
2156
2237
 
2157
2238
 
2158
2239
 
2159
2240
  ************************************
2160
- [09083] displayBase()
2241
+ [09085] displayBase()
2161
2242
 
2162
2243
  displayBase
2163
2244
  zim function
@@ -2173,7 +2254,7 @@ Might have set these on CreateJS DisplayObject
2173
2254
 
2174
2255
 
2175
2256
  ************************************
2176
- [09296] gD()
2257
+ [09298] gD()
2177
2258
 
2178
2259
  gD
2179
2260
  zim function
@@ -2184,7 +2265,7 @@ Used internally by ZIM to globally dispose common connections
2184
2265
 
2185
2266
 
2186
2267
  ************************************
2187
- [09332] Stage(canvasID, touch, singleTouch)
2268
+ [09334] Stage(canvasID, touch, singleTouch)
2188
2269
 
2189
2270
  Stage
2190
2271
  zim class - extends a createjs.Stage which extends a createjs.Container
@@ -2240,7 +2321,7 @@ click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmove, pre
2240
2321
 
2241
2322
 
2242
2323
  ************************************
2243
- [09491] StageGL(canvasID, options, touch, singleTouch)
2324
+ [09493] StageGL(canvasID, options, touch, singleTouch)
2244
2325
 
2245
2326
  StageGL
2246
2327
  zim class - extends a zim.Stage which extends a createjs.Stage
@@ -2302,7 +2383,7 @@ click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmove, pre
2302
2383
 
2303
2384
 
2304
2385
  ************************************
2305
- [09654] Container(a, b, c, d, style, group, inherit)
2386
+ [09656] Container(a, b, c, d, style, group, inherit)
2306
2387
 
2307
2388
  Container
2308
2389
  zim class - extends a createjs.Container
@@ -2534,7 +2615,7 @@ MORE: http://zimjs.com/code/bits.html?title=Container
2534
2615
 
2535
2616
 
2536
2617
  ************************************
2537
- [10281] Shape(a, b, c, d, graphics, optimize, style, group, inherit)
2618
+ [10283] Shape(a, b, c, d, graphics, optimize, style, group, inherit)
2538
2619
 
2539
2620
  Shape
2540
2621
  zim class - extends a createjs.Shape
@@ -2723,7 +2804,7 @@ MORE: http://zimjs.com/code/bits.html?title=Shape
2723
2804
 
2724
2805
 
2725
2806
  ************************************
2726
- [10641] Bitmap(image, width, height, left, top, scale, style, group, inherit)
2807
+ [10643] Bitmap(image, width, height, left, top, scale, style, group, inherit)
2727
2808
 
2728
2809
  Bitmap
2729
2810
  zim class - extends a createjs.Bitmap
@@ -2874,6 +2955,12 @@ keyOut(color, tolerance, replacement) - remove color from Bitmap and a tolerance
2874
2955
  the default tolerance is .1 - the higher the tolerance the less sensitive the keying process - so more colors will be removed similar to the provided color
2875
2956
  color and tolerance can be an array of colors and tolerances (or just one tolerance if all are the same)
2876
2957
  replacement (default clear) a color to replace the keyed out color with or an optional array to match the colors array if an array is used
2958
+ removeGreenScreen(smoothing, hueMin, hueMax, satMin, lightMin) - alternative to keyOut() that keys out green
2959
+ smoothing (default 0) Edge smoothing factor (0-10) - higher values create smoother edges around subjects
2960
+ hueMin (default 80) Minimum hue value (0-360) for green detection - sets the lower bound of green hues
2961
+ hueMax (default 160) Maximum hue value (0-360) for green detection - sets the upper bound of green hues
2962
+ satMin (default 30) Minimum saturation value (0-100) - avoids detecting desaturated/grayish pixels as green
2963
+ lightMin (default 15) Minimum lightness value (0-100) - avoids detecting very dark pixels as green
2877
2964
  fromData(data, callback) - STATIC method so use the Bitmap class directly: Bitmap.fromData()
2878
2965
  The callback will receive a reference to the Bitmap after 50ms or 100ms.
2879
2966
  There is no event for making a Bitmap from base64 for instance - so this will have to do.
@@ -2973,7 +3060,7 @@ MORE: http://zimjs.com/code/bits.html?title=Bitmap
2973
3060
 
2974
3061
 
2975
3062
  ************************************
2976
- [11232] SlicedBitmap(width, height, obj, slices, types, gap, scale, style, group, inherit)
3063
+ [11334] SlicedBitmap(width, height, obj, slices, types, gap, scale, style, group, inherit)
2977
3064
 
2978
3065
  SlicedBitmap
2979
3066
  zim class - extends a zim.Bitmap which extends a createjs.Bitmap
@@ -3100,7 +3187,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
3100
3187
 
3101
3188
 
3102
3189
  ************************************
3103
- [11650] Sprite(image, cols, rows, count, offsetX, offsetY, spacingX, spacingY, width, height, animations, json, id, globalControl, spriteSheet, label, frame, style, group, inherit)
3190
+ [11752] Sprite(image, cols, rows, count, offsetX, offsetY, spacingX, spacingY, width, height, animations, json, id, globalControl, spriteSheet, label, frame, style, group, inherit)
3104
3191
 
3105
3192
  Sprite
3106
3193
  zim class - extends a createjs.Sprite
@@ -3411,7 +3498,7 @@ MORE: http://zimjs.com/code/bits.html?title=Sprite
3411
3498
 
3412
3499
 
3413
3500
  ************************************
3414
- [12444] MovieClip(mode, startPosition, loop, labels, style, group, inherit)
3501
+ [12546] MovieClip(mode, startPosition, loop, labels, style, group, inherit)
3415
3502
 
3416
3503
  MovieClip
3417
3504
  zim class - extends a createjs.MovieClip
@@ -3514,7 +3601,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
3514
3601
 
3515
3602
 
3516
3603
  ************************************
3517
- [12633] SVGContainer(svg, splitTypes, geometric, showControls, interactive, style, group, inherit)
3604
+ [12735] SVGContainer(svg, splitTypes, geometric, showControls, interactive, style, group, inherit)
3518
3605
 
3519
3606
  SVGContainer
3520
3607
  zim class - extends a zim.Container which extends a createjs.Container
@@ -3595,7 +3682,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
3595
3682
 
3596
3683
 
3597
3684
  ************************************
3598
- [13696] Tag(width, height, id, frame, backgroundColor, padding, paddingH, paddingV, expand, style, group, inherit)
3685
+ [13798] Tag(width, height, id, frame, backgroundColor, padding, paddingH, paddingV, expand, style, group, inherit)
3599
3686
 
3600
3687
  Tag
3601
3688
  zim class - extends a zim.Container which extends a createjs.Container
@@ -3685,7 +3772,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
3685
3772
 
3686
3773
 
3687
3774
  ************************************
3688
- [13963] Shader(width, height, fragment, uniforms, vertex, dynamic, preCall, postCall, rate, version, canvas, vertexPosition, strip, log, style, group, inherit)
3775
+ [14065] Shader(width, height, fragment, uniforms, vertex, dynamic, preCall, postCall, rate, version, canvas, vertexPosition, strip, log, style, group, inherit)
3689
3776
 
3690
3777
  Shader
3691
3778
  zim class - extends a zim.Bitmap which extends a createjs.Bitmap
@@ -4138,7 +4225,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
4138
4225
 
4139
4226
 
4140
4227
  ************************************
4141
- [14481] ShaderOverlay(width, height, fragment, uniforms, vertex, dynamic, preCall, postCall, rate, version, canvas, vertexPosition, strip, log, style, group, inherit)
4228
+ [14583] ShaderOverlay(width, height, fragment, uniforms, vertex, dynamic, preCall, postCall, rate, version, canvas, vertexPosition, strip, log, style, group, inherit)
4142
4229
 
4143
4230
  ShaderOverlay
4144
4231
  zim class - extends a zim.Tag
@@ -4183,7 +4270,7 @@ function ready() {
4183
4270
 
4184
4271
 
4185
4272
  ************************************
4186
- [14587] makeShader(DS, width, height, fragment, uniforms, vertex, dynamic, preCall, postCall, rate, version, canvas, vertexPosition, strip, log, tether)
4273
+ [14689] makeShader(DS, width, height, fragment, uniforms, vertex, dynamic, preCall, postCall, rate, version, canvas, vertexPosition, strip, log, tether)
4187
4274
 
4188
4275
  makeShader
4189
4276
  function - used internally only
@@ -4203,7 +4290,7 @@ Introduced in ZIM 016
4203
4290
 
4204
4291
 
4205
4292
  ************************************
4206
- [14826] Uniforms(obj)
4293
+ [14928] Uniforms(obj)
4207
4294
 
4208
4295
  Uniforms
4209
4296
  zim class - extends a zim.Container which extends a createjs.Container
@@ -4278,7 +4365,7 @@ uniforms.dimensions_B = 500
4278
4365
 
4279
4366
 
4280
4367
  ************************************
4281
- [14945] CustomShape(x, y, w, h)
4368
+ [15047] CustomShape(x, y, w, h)
4282
4369
 
4283
4370
  CustomShape
4284
4371
  zim class - extends a zim.Container which extends a createjs.Container
@@ -4318,7 +4405,7 @@ SEE - ZIM shapes for details.
4318
4405
 
4319
4406
 
4320
4407
  ************************************
4321
- [15178] Circle(radius, color, borderColor, borderWidth, dashed, percent, percentClose, percentArc, strokeObj, style, group, inherit)
4408
+ [15280] Circle(radius, color, borderColor, borderWidth, dashed, percent, percentClose, percentArc, strokeObj, style, group, inherit)
4322
4409
 
4323
4410
  Circle
4324
4411
  zim class - extends a zim.CustomShape which extends a zim.Container which extends a createjs.Container
@@ -4460,7 +4547,7 @@ MORE: http://zimjs.com/code/bits.html?title=Circle
4460
4547
 
4461
4548
 
4462
4549
  ************************************
4463
- [15468] Rectangle(width, height, color, borderColor, borderWidth, corner, dashed, strokeObj, scaleDimensions, style, group, inherit)
4550
+ [15570] Rectangle(width, height, color, borderColor, borderWidth, corner, dashed, strokeObj, scaleDimensions, style, group, inherit)
4464
4551
 
4465
4552
  Rectangle
4466
4553
  zim class - extends a zim.CustomShape which extends a zim.Container which extends a createjs.Container
@@ -4594,7 +4681,7 @@ MORE: http://zimjs.com/code/bits.html?title=Rectangle
4594
4681
 
4595
4682
 
4596
4683
  ************************************
4597
- [15724] Triangle(a, b, c, color, borderColor, borderWidth, corner, center, adjust, dashed, strokeObj, style, group, inherit)
4684
+ [15826] Triangle(a, b, c, color, borderColor, borderWidth, corner, center, adjust, dashed, strokeObj, style, group, inherit)
4598
4685
 
4599
4686
  Triangle
4600
4687
  zim class - extends a zim.CustomShape which extends a zim.Container which extends a createjs.Container
@@ -4723,7 +4810,7 @@ MORE: http://zimjs.com/code/bits.html?title=Triangle
4723
4810
 
4724
4811
 
4725
4812
  ************************************
4726
- [16009] Poly(radius, sides, pointSize, color, borderColor, borderWidth, dashed, strokeObj, flat, style, group, inherit)
4813
+ [16111] Poly(radius, sides, pointSize, color, borderColor, borderWidth, dashed, strokeObj, flat, style, group, inherit)
4727
4814
 
4728
4815
  Poly
4729
4816
  zim class - extends a zim.CustomShape which extends a zim.Container which extends a createjs.Container
@@ -4836,7 +4923,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
4836
4923
 
4837
4924
 
4838
4925
  ************************************
4839
- [16246] Line(length, thickness, color, startHead, endHead, dashed, strokeObj, lineType, lineOrientation, curveH, curveV, points, startLength, endLength, style, group, inherit)
4926
+ [16348] Line(length, thickness, color, startHead, endHead, dashed, strokeObj, lineType, lineOrientation, curveH, curveV, points, startLength, endLength, style, group, inherit)
4840
4927
 
4841
4928
  Line
4842
4929
  zim class - extends a zim.CustomShape which extends a zim.Container which extends a createjs.Container
@@ -4996,7 +5083,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
4996
5083
 
4997
5084
 
4998
5085
  ************************************
4999
- [16997] Squiggle(color, thickness, points, length, controlLength, controlType, lockControlType, showControls, lockControls, handleSize, allowToggle, move, dashed, onTop, circleColor, circleBorderColor, stickColor, stickThickness, selectColor, selectPoints, editPoints, interactive, strokeObj, style, group, inherit)
5086
+ [17099] Squiggle(color, thickness, points, length, controlLength, controlType, lockControlType, showControls, lockControls, handleSize, allowToggle, move, dashed, onTop, circleColor, circleBorderColor, stickColor, stickThickness, selectColor, selectPoints, editPoints, interactive, strokeObj, style, group, inherit)
5000
5087
 
5001
5088
  Squiggle
5002
5089
  zim class - extends a zim.Container which extends a createjs.Container
@@ -5346,7 +5433,7 @@ Note the points property has been split into points and pointObjects (and there
5346
5433
 
5347
5434
 
5348
5435
  ************************************
5349
- [19096] Blob(color, borderColor, borderWidth, points, radius, controlLength, controlType, lockControlType, showControls, lockControls, handleSize, allowToggle, move, dashed, onTop, circleColor, circleBorderColor, stickColor, stickThickness, selectColor, selectPoints, editPoints, interactive, strokeObj, style, group, inherit)
5436
+ [19198] Blob(color, borderColor, borderWidth, points, radius, controlLength, controlType, lockControlType, showControls, lockControls, handleSize, allowToggle, move, dashed, onTop, circleColor, circleBorderColor, stickColor, stickThickness, selectColor, selectPoints, editPoints, interactive, strokeObj, style, group, inherit)
5350
5437
 
5351
5438
  Blob
5352
5439
  zim class - extends a zim.Container which extends a createjs.Container
@@ -5739,7 +5826,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
5739
5826
 
5740
5827
 
5741
5828
  ************************************
5742
- [21398] Flare(color, borderColor, borderWidth, crossAngle, thickness, thicknessA, thicknessB, pin, startX, startY, lengths, angles, anglesA, anglesB, anglesEnd, cross, crossColors, close, dashed, strokeObj, spineColor, spineBorderWidth, spineBorderColor, spineDashed, spineStrokeObj, closeColor, closeBorderWidth, closeBorderColor, closeDashed, closeStrokeObj, style, group, inherit)
5829
+ [21500] Flare(color, borderColor, borderWidth, crossAngle, thickness, thicknessA, thicknessB, pin, startX, startY, lengths, angles, anglesA, anglesB, anglesEnd, cross, crossColors, close, dashed, strokeObj, spineColor, spineBorderWidth, spineBorderColor, spineDashed, spineStrokeObj, closeColor, closeBorderWidth, closeBorderColor, closeDashed, closeStrokeObj, style, group, inherit)
5743
5830
 
5744
5831
  Flare
5745
5832
  zim class - extends a zim.Container which extends a createjs.Container
@@ -5923,7 +6010,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
5923
6010
 
5924
6011
 
5925
6012
  ************************************
5926
- [22139] MultiFlare(flares, pins, angles, endToEnd, style, group, inherit)
6013
+ [22241] MultiFlare(flares, pins, angles, endToEnd, style, group, inherit)
5927
6014
 
5928
6015
  MultiFlare
5929
6016
  zim class - extends a zim.Container which extends a createjs.Container
@@ -6020,7 +6107,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6020
6107
 
6021
6108
 
6022
6109
  ************************************
6023
- [22314] FlareBox(width, height, color, borderColor, borderWidth, flares, corners, pins, style, group, inherit)
6110
+ [22416] FlareBox(width, height, color, borderColor, borderWidth, flares, corners, pins, style, group, inherit)
6024
6111
 
6025
6112
  FlareBox
6026
6113
  zim class - extends a zim.Container which extends a createjs.Container
@@ -6164,7 +6251,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6164
6251
 
6165
6252
 
6166
6253
  ************************************
6167
- [22532] Label(text, size, font, color, rollColor, shadowColor, shadowBlur, align, valign, bold, italic, variant, lineWidth, lineHeight, backing, outlineColor, outlineWidth, backgroundColor, backgroundBorderColor, backgroundBorderWidth, corner, backgroundDashed, padding, paddingH, paddingV, shiftH, shiftV, rollPersist, labelWidth, labelHeight, maxSize, splitWords, style, group, inherit)
6254
+ [22634] Label(text, size, font, color, rollColor, shadowColor, shadowBlur, align, valign, bold, italic, variant, lineWidth, lineHeight, backing, outlineColor, outlineWidth, backgroundColor, backgroundBorderColor, backgroundBorderWidth, corner, backgroundDashed, padding, paddingH, paddingV, shiftH, shiftV, rollPersist, labelWidth, labelHeight, maxSize, splitWords, style, group, inherit)
6168
6255
 
6169
6256
  Label
6170
6257
  zim class - extends a zim.Container which extends a createjs.Container
@@ -6339,7 +6426,7 @@ MORE: http://zimjs.com/code/bits.html?title=Label
6339
6426
 
6340
6427
 
6341
6428
  ************************************
6342
- [23330] LabelOnPath(label, path, percentAngle, percents, showPath, allowToggle, interactive, onTop, rtl, style, group, inherit)
6429
+ [23432] LabelOnPath(label, path, percentAngle, percents, showPath, allowToggle, interactive, onTop, rtl, style, group, inherit)
6343
6430
 
6344
6431
  LabelOnPath
6345
6432
  zim class - extends a zim.Container which extends a createjs.Container
@@ -6445,7 +6532,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6445
6532
 
6446
6533
 
6447
6534
  ************************************
6448
- [23634] LabelOnArc(label, size, font, color, radius, flip, spacing, letterSpacing, angles, showCircle, arcColor, arcBorderColor, arcBorderWidth, radiusSpread, rtl, style, group, inherit)
6535
+ [23737] LabelOnArc(label, size, font, color, radius, flip, spacing, letterSpacing, angles, showCircle, arcColor, arcBorderColor, arcBorderWidth, radiusSpread, rtl, style, group, inherit)
6449
6536
 
6450
6537
  LabelOnArc
6451
6538
  zim class - extends a zim.Container which extends a createjs.Container
@@ -6536,7 +6623,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6536
6623
 
6537
6624
 
6538
6625
  ************************************
6539
- [23892] LabelLetters(label, align, valign, letterSpacing, letterSpacings, lineSpacing, lineSpacings, lineHeight, lineAlign, lineValign, cache, rtl, lineWidth, style, group, inherit)
6626
+ [23995] LabelLetters(label, align, valign, letterSpacing, letterSpacings, lineSpacing, lineSpacings, lineHeight, lineAlign, lineValign, cache, rtl, lineWidth, lineAlignLast, style, group, inherit)
6540
6627
 
6541
6628
  LabelLetters
6542
6629
  zim class - extends a zim.Container which extends a createjs.Container
@@ -6608,12 +6695,15 @@ lineSpacing - (default 5) - the space between lines (not including lineHeight)
6608
6695
  lineSpacings - (default null) - an array of the space between lines
6609
6696
  any values here will override the lineSpacing
6610
6697
  lineHeight - (default null) null will auto set the height. Set to a number to force line heights - if \n or <br> are present in label
6611
- lineAlign - (default LEFT or RIGHT for rtl:true) the horizontal alignment of lines if multiple lines - set to LEFT, CENTER/MIDDLE, RIGHT
6698
+ lineAlign - (default LEFT or RIGHT for rtl:true) the horizontal alignment of lines if multiple lines - set to LEFT, CENTER/MIDDLE, RIGHT, JUSTIFY
6612
6699
  set to START to lineAlign LEFT for ZIM DIR constant is "ltr" or RIGHT when DIR="rtl" - END is the opposite
6700
+ note the lineAlignLast parameter if using JUSTIFY
6613
6701
  lineValign - (default BOTTOM) the vertical alignment within lineSpacing if multiple lines - set to TOP, CENTER/MIDDLE, BOTTOM
6614
6702
  cache - (default false) set to true to cache each letter - improves performance on animation
6615
6703
  rtl - (default false) set to true to reverse letters other than a-zA-Z0-9 and set default lineAlign to RIGHT
6616
6704
  lineWidth - (default null) set the line width - could cause wrapping. Also see lineWidth property
6705
+ lineAlignLast - (default LEFT or RIGHT for rtl:true) - only applied if lineAlign is JUSTIFY
6706
+ this value can also be JUSTIFY to spread the words of the last line
6617
6707
  style - (default true) set to false to ignore styles set with the STYLE - will receive original parameter defaults
6618
6708
  group - (default null) set to String (or comma delimited String) so STYLE can set default styles to the group(s) (like a CSS class)
6619
6709
  inherit - (default null) used internally but can receive an {} of styles directly
@@ -6654,7 +6744,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6654
6744
 
6655
6745
 
6656
6746
  ************************************
6657
- [24721] LabelWords(label, width, size, font, color, backgroundColor, itemCache, itemRegX, itemRegY, spacingH, spacingV, wrapperType, align, valign, alignInner, valignInner, flip, reverse, bottomFull, colSize, rowSize, height, minSpreadNum, minStretchNum, percentVoidH, offsetVoidH, percentVoidV, offsetVoidV, minStretchFirst, style, group, inherit)
6747
+ [24854] LabelWords(label, width, size, font, color, backgroundColor, itemCache, itemRegX, itemRegY, spacingH, spacingV, wrapperType, align, valign, alignInner, valignInner, flip, reverse, bottomFull, colSize, rowSize, height, minSpreadNum, minStretchNum, percentVoidH, offsetVoidH, percentVoidV, offsetVoidV, minStretchFirst, style, group, inherit)
6658
6748
 
6659
6749
  LabelWords
6660
6750
  zim class - extends a zim Wrapper which extends a zim.Container which extends a createjs.Container
@@ -6801,7 +6891,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6801
6891
 
6802
6892
 
6803
6893
  ************************************
6804
- [24937] Emoji(code, size, monochrome, italic, backgroundColor, backgroundBorderColor, backgroundBorderWidth, corner, backing, padding, paddingH, paddingV, shiftH, shiftV, style, group, inherit)
6894
+ [25071] Emoji(code, size, monochrome, italic, backgroundColor, backgroundBorderColor, backgroundBorderWidth, corner, backing, padding, paddingH, paddingV, shiftH, shiftV, style, group, inherit)
6805
6895
 
6806
6896
  Emoji
6807
6897
  zim class - extends a zim.Label which extends a zim.Container
@@ -6893,7 +6983,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
6893
6983
 
6894
6984
 
6895
6985
  ************************************
6896
- [25111] Button(width, height, label, backgroundColor, rollBackgroundColor, downBackgroundColor, color, rollColor, downColor, borderColor, borderWidth, rollBorderColor, downBorderColor, backing, rollBacking, downBacking, icon, rollIcon, downIcon, corner, dashed, shadowColor, shadowBlur, gradient, gloss, align, valign, indent, indentH, indentV, hitPadding, autoPadding, autoPaddingH, autoPaddingV, rollPersist, toggle, toggleBackgroundColor, rollToggleBackgroundColor, downToggleBackgroundColor, toggleColor, rollToggleColor, downToggleColor, toggleBacking, rollToggleBacking, downToggleBacking, toggleIcon, rollToggleIcon, downToggleIcon, toggleEvent, wait, waitTime, waitBackgroundColor, rollWaitBackgroundColor, downWaitBackgroundColor, waitColor, rollWaitColor, downWaitColor, waitBacking, rollWaitBacking, downWaitBacking, waitIcon, rollWaitIcon, downWaitIcon, waitModal, waitEnabled, style, group, inherit)
6986
+ [25245] Button(width, height, label, backgroundColor, rollBackgroundColor, downBackgroundColor, color, rollColor, downColor, borderColor, borderWidth, rollBorderColor, downBorderColor, backing, rollBacking, downBacking, icon, rollIcon, downIcon, corner, dashed, shadowColor, shadowBlur, gradient, gloss, align, valign, indent, indentH, indentV, hitPadding, autoPadding, autoPaddingH, autoPaddingV, rollPersist, toggle, toggleBackgroundColor, rollToggleBackgroundColor, downToggleBackgroundColor, toggleColor, rollToggleColor, downToggleColor, toggleBacking, rollToggleBacking, downToggleBacking, toggleIcon, rollToggleIcon, downToggleIcon, toggleEvent, wait, waitTime, waitBackgroundColor, rollWaitBackgroundColor, downWaitBackgroundColor, waitColor, rollWaitColor, downWaitColor, waitBacking, rollWaitBacking, downWaitBacking, waitIcon, rollWaitIcon, downWaitIcon, waitModal, waitEnabled, style, group, inherit)
6897
6987
 
6898
6988
  Button
6899
6989
  zim class - extends a zim.Container which extends a createjs.Container
@@ -7163,7 +7253,7 @@ MORE: http://zimjs.com/code/bits.html?title=Button
7163
7253
 
7164
7254
 
7165
7255
  ************************************
7166
- [26234] CheckBox(size, label, startChecked, color, backgroundColor, borderColor, borderWidth, corner, margin, indicatorType, indicatorColor, tap, rtl, style, group, inherit)
7256
+ [26368] CheckBox(size, label, startChecked, color, backgroundColor, borderColor, borderWidth, corner, margin, indicatorType, indicatorColor, tap, rtl, style, group, inherit)
7167
7257
 
7168
7258
  CheckBox
7169
7259
  zim class - extends a zim.Container which extends a createjs.Container
@@ -7253,7 +7343,7 @@ MORE: http://zimjs.com/code/bits.html?title=CheckBox
7253
7343
 
7254
7344
 
7255
7345
  ************************************
7256
- [26526] RadioButtons(size, buttons, vertical, color, backgroundColor, spacing, margin, always, indicatorColor, index, rtl, selectedIndex, style, group, inherit)
7346
+ [26660] RadioButtons(size, buttons, vertical, color, backgroundColor, spacing, margin, always, indicatorColor, index, rtl, selectedIndex, style, group, inherit)
7257
7347
 
7258
7348
  RadioButtons
7259
7349
  zim class - extends a zim.Container which extends a createjs.Container
@@ -7346,7 +7436,7 @@ MORE: http://zimjs.com/code/bits.html?title=RadioButtons
7346
7436
 
7347
7437
 
7348
7438
  ************************************
7349
- [26883] Toggle(width, height, label, startToggled, backgroundColor, margin, indicatorType, indicatorColor, tap, toggleBackgroundColor, color, borderColor, borderWidth, corner, indicatorCorner, shadowColor, shadowBlur, time, labelLeft, style, group, inherit)
7439
+ [27017] Toggle(width, height, label, startToggled, backgroundColor, margin, indicatorType, indicatorColor, tap, toggleBackgroundColor, color, borderColor, borderWidth, corner, indicatorCorner, shadowColor, shadowBlur, time, labelLeft, style, group, inherit)
7350
7440
 
7351
7441
  Toggle
7352
7442
  zim class - extends a zim.Container which extends a createjs.Container
@@ -7429,7 +7519,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
7429
7519
 
7430
7520
 
7431
7521
  ************************************
7432
- [27138] Tip(text, tipAlign, tipValign, margin, marginH, marginV, outside, target, delay, time, mouseClose, size, font, color, rollColor, shadowColor, shadowBlur, align, valign, lineWidth, lineHeight, backing, outlineColor, outlineWidth, backgroundColor, backgroundBorderColor, backgroundBorderWidth, corner, backgroundDashed, padding, paddingH, paddingV, shiftH, shiftV, rollPersist, labelWidth, labelHeight, maxSize, bold, italic, variant, splitWords, style, group, inherit)
7522
+ [27272] Tip(text, tipAlign, tipValign, margin, marginH, marginV, outside, target, delay, time, mouseClose, size, font, color, rollColor, shadowColor, shadowBlur, align, valign, lineWidth, lineHeight, backing, outlineColor, outlineWidth, backgroundColor, backgroundBorderColor, backgroundBorderWidth, corner, backgroundDashed, padding, paddingH, paddingV, shiftH, shiftV, rollPersist, labelWidth, labelHeight, maxSize, bold, italic, variant, splitWords, style, group, inherit)
7433
7523
 
7434
7524
  Tip
7435
7525
  zim class - extends a a zim.Label which extends a zim.Container which extends a createjs.Container
@@ -7558,7 +7648,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
7558
7648
 
7559
7649
 
7560
7650
  ************************************
7561
- [27402] Pane(content, backgroundColor, color, width, height, draggable, resets, modal, corner, backdropColor, shadowColor, shadowBlur, center, displayClose, backdropClose, backing, fadeTime, container, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, close, closeColor, autoPadding, autoPaddingH, autoPaddingV, keyboardAccess, style, group, inherit)
7651
+ [27536] Pane(content, backgroundColor, color, width, height, draggable, resets, modal, corner, backdropColor, shadowColor, shadowBlur, center, displayClose, backdropClose, backing, fadeTime, container, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, close, closeColor, autoPadding, autoPaddingH, autoPaddingV, keyboardAccess, style, group, inherit)
7562
7652
 
7563
7653
  Pane
7564
7654
  zim class - extends a zim.Container which extends a createjs.Container
@@ -7788,7 +7878,7 @@ MORE: http://zimjs.com/code/bits.html?title=Pane
7788
7878
 
7789
7879
 
7790
7880
  ************************************
7791
- [28016] Panel(width, height, content, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, backgroundColor, borderColor, borderWidth, corner, close, closeColor, next, nextColor, extraButton, collapse, collapseColor, collapsed, align, shadowColor, shadowBlur, draggable, boundary, style, group, inherit)
7881
+ [28150] Panel(width, height, content, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, backgroundColor, borderColor, borderWidth, corner, close, closeColor, next, nextColor, extraButton, collapse, collapseColor, collapsed, align, shadowColor, shadowBlur, draggable, boundary, style, group, inherit)
7792
7882
 
7793
7883
  Panel
7794
7884
  zim class - extends a zim.Container which extends a createjs.Container
@@ -7991,7 +8081,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
7991
8081
 
7992
8082
 
7993
8083
  ************************************
7994
- [28552] Window(width, height, content, backgroundColor, borderColor, borderWidth, padding, corner, swipe, scrollBarActive, scrollBarDrag, scrollBarColor, scrollBarAlpha, scrollBarFade, scrollBarH, scrollBarV, slide, slideFactor, slideSnap, slideSnapDamp, interactive, shadowColor, shadowBlur, paddingH, paddingV, scrollWheel, damp, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, draggable, boundary, onTop, close, closeColor, cancelCurrentDrag, fullSize, fullSizeColor, resizeHandle, collapse, collapseColor, collapsed, optimize, resizeBoundary, resizeVisible, continuous, style, group, inherit)
8084
+ [28687] Window(width, height, content, backgroundColor, borderColor, borderWidth, padding, corner, swipe, scrollBarActive, scrollBarDrag, scrollBarColor, scrollBarAlpha, scrollBarFade, scrollBarH, scrollBarV, slide, slideFactor, slideSnap, slideSnapDamp, interactive, shadowColor, shadowBlur, paddingH, paddingV, scrollWheel, damp, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, draggable, boundary, onTop, close, closeColor, cancelCurrentDrag, fullSize, fullSizeColor, resizeHandle, collapse, collapseColor, collapsed, optimize, resizeBoundary, resizeVisible, continuous, style, group, inherit)
7995
8085
 
7996
8086
  Window
7997
8087
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8260,7 +8350,7 @@ MORE: http://zimjs.com/code/bits.html?title=Window
8260
8350
 
8261
8351
 
8262
8352
  ************************************
8263
- [29977] Page(width, height, color, color2, angle, corner, pattern, scalePattern, cache, style, group, inherit)
8353
+ [30116] Page(width, height, color, color2, angle, corner, borderColor, borderWidth, pattern, scalePattern, cache, style, group, inherit)
8264
8354
 
8265
8355
  Page
8266
8356
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8303,6 +8393,7 @@ height - (default zimDefaultFrame.height) the height of the Page
8303
8393
  color - |ZIM VEE| (default zim.light) the color of the page
8304
8394
  color2 - |ZIM VEE| (default null) a second color which would form a zim.GradientColor() as the color
8305
8395
  angle - (default 90) the angle for the gradient if there is a gradient
8396
+ corner
8306
8397
  pattern - (default null) a DisplayObject that will be added to the page above the backing
8307
8398
  For instance, import zim_pizzazz and use:
8308
8399
  makePattern("slants", series(grey,dark), 20, 52, 40).alp(.2)
@@ -8311,6 +8402,8 @@ scalePattern - (default "fill") scale the pattern so it fills the window (former
8311
8402
  FIT or "fit" fits inside the Page keeping proportion (formerly "smallest")
8312
8403
  FILL or "fill" fills the Page keeping proportion (formerly "biggest" or "outside")
8313
8404
  FULL or "full" keeps both x and y scales - may stretch object (formerly "both")
8405
+ borderColor (default null) set a color for the border
8406
+ borderWidth (default 1 if borderColor) set a borderWidth for the border
8314
8407
  cache - (default false or true for gradient or pattern) whether the backing and pattern is cached
8315
8408
  style - (default true) set to false to ignore styles set with the STYLE - will receive original parameter defaults
8316
8409
  group - (default null) set to String (or comma delimited String) so STYLE can set default styles to the group(s) (like a CSS class)
@@ -8348,7 +8441,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
8348
8441
 
8349
8442
 
8350
8443
  ************************************
8351
- [30131] Central(width, height, style, group, inherit)
8444
+ [30276] Central(width, height, style, group, inherit)
8352
8445
 
8353
8446
  Central
8354
8447
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8417,7 +8510,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
8417
8510
 
8418
8511
 
8419
8512
  ************************************
8420
- [30227] Layer(width, height, titleBar, titleBarContainer, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, selectedColor, selectedRollColor, borderWidth, borderColor, dashed, transformObject, titleBarWidth, titleBarHeight, titleBarX, titleBarY, titleBarDraggable, close, closeColor, closeBackgroundColor, closeIndicatorColor, anchor, onTop, style, group, inherit)
8513
+ [30372] Layer(width, height, titleBar, titleBarContainer, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, selectedColor, selectedRollColor, borderWidth, borderColor, dashed, transformObject, titleBarWidth, titleBarHeight, titleBarX, titleBarY, titleBarDraggable, close, closeColor, closeBackgroundColor, closeIndicatorColor, anchor, onTop, style, group, inherit)
8421
8514
 
8422
8515
  Layer
8423
8516
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8614,7 +8707,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
8614
8707
 
8615
8708
 
8616
8709
  ************************************
8617
- [30772] Waiter(container, speed, foregroundColor, backgroundColor, corner, shadowColor, shadowBlur, fadeTime, style, group, inherit)
8710
+ [30917] Waiter(container, speed, foregroundColor, backgroundColor, corner, shadowColor, shadowBlur, fadeTime, style, group, inherit)
8618
8711
 
8619
8712
  Waiter
8620
8713
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8688,7 +8781,7 @@ MORE: http://zimjs.com/code/bits.html?title=Waiter
8688
8781
 
8689
8782
 
8690
8783
  ************************************
8691
- [31004] ProgressBar(barType, foregroundColor, backgroundColor, borderColor, borderWidth, padding, label, color, labelPosition, percentage, corner, shadowColor, shadowBlur, backing, delay, fastClose, container, autoHide, width, style, group, inherit)
8784
+ [31149] ProgressBar(barType, foregroundColor, backgroundColor, borderColor, borderWidth, padding, label, color, labelPosition, percentage, corner, shadowColor, shadowBlur, backing, delay, fastClose, container, autoHide, width, style, group, inherit)
8692
8785
 
8693
8786
  ProgressBar
8694
8787
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8751,8 +8844,9 @@ show() - shows the progress bar (returns the progress bar for chaining)
8751
8844
  hide() - hides the progress bar
8752
8845
  toggle(state - default null) - shows progress bar if hidden and hides progress bar if showing (returns the object for chaining)
8753
8846
  or pass in true to show progress bar or false to hide progress bar
8754
- run(time, close) - shows and runs the progress bar for the given time (default 3s) (also see ZIM TIME constant)
8847
+ run(time, close, repeat) - shows and runs the progress bar for the given time (default 3s) (also see ZIM TIME constant)
8755
8848
  setting close to true or false will set the main class autoHide setting
8849
+ set repeat to true to keep repeating
8756
8850
  thanks Racheli Golan for the request
8757
8851
  setBacking(backing) - change the backing of the progress bar
8758
8852
  hasProp(property as String) - returns true if property exists on object else returns false
@@ -8791,7 +8885,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
8791
8885
 
8792
8886
 
8793
8887
  ************************************
8794
- [31354] Indicator(width, height, num, foregroundColor, backgroundColor, borderColor, borderWidth, backdropColor, corner, indicatorType, selectedIndicatorType, fill, scale, lightScale, interactive, shadowColor, shadowBlur, index, backgroundAlpha, selectedIndex, style, group, inherit)
8888
+ [31505] Indicator(width, height, num, foregroundColor, backgroundColor, borderColor, borderWidth, backdropColor, corner, indicatorType, selectedIndicatorType, fill, scale, lightScale, interactive, shadowColor, shadowBlur, index, backgroundAlpha, selectedIndex, toggleFirst, delayLights, indicatorList, selectedIndicatorList, style, group, inherit)
8795
8889
 
8796
8890
  Indicator
8797
8891
  zim class - extends a zim.Container which extends a createjs.Container
@@ -8843,17 +8937,22 @@ scale - (default 1) for all the lights including spacing
8843
8937
  lightScale - (default 1) scale for each light - keeping the spacing unchanged
8844
8938
  interactive - (default false) set to true to make lights clickable
8845
8939
  clicking on first light when first light is only light on, will toggle light
8940
+ unless toggleFirst is set to false
8846
8941
  shadowColor - (default rgba(0,0,0,.3)) set to -1 for no shadow
8847
8942
  shadowBlur - (default 5) the shadow blur if shadow is set
8848
8943
  index - (default 0) - set the index at start. Use -1 for no indicator at start.
8849
8944
  backgroundAlpha - (default 1 or .2 if indicatorType is Emoji) - affects only Emoji and custom DisplayObject indicatorType
8850
8945
  selectedIndex - same as index, kept in for backwards compatibility in ZIM DUO
8946
+ toggleFirst - (default true) set to false to not toggle first light if indicator is set to interactive
8947
+ delayLight - (default false) set to true to not activate the light when interactive is true
8948
+ sometimes something else will set the lights so just dispatch a change event without updating the light
8851
8949
  style - (default true) set to false to ignore styles set with the STYLE - will receive original parameter defaults
8852
8950
  group - (default null) set to String (or comma delimited String) so STYLE can set default styles to the group(s) (like a CSS class)
8853
8951
  inherit - (default null) used internally but can receive an {} of styles directly
8854
8952
 
8855
8953
  METHODS
8856
8954
  hasProp(property as String) - returns true if property exists on object else returns false
8955
+ update() - updates lights - needed only if indicatorList or selectedIndicatorList is used and changed dynamically
8857
8956
  clone() - makes a copy with properties such as x, y, etc. also copied
8858
8957
  dispose() - removes from parent, removes event listeners - must still set outside references to null for garbage collection
8859
8958
 
@@ -8891,7 +8990,7 @@ MORE: http://zimjs.com/code/bits.html?title=Indicator
8891
8990
 
8892
8991
 
8893
8992
  ************************************
8894
- [31670] TextInput(width, height, placeholder, text, size, font, color, backgroundColor, borderColor, borderWidth, maxLength, password, selectionColor, selectionAlpha, cursorColor, cursorSpeed, shadowColor, shadowBlur, align, corner, padding, paddingH, paddingV, shiftH, shiftV, scrollBarActive, scrollBarDrag, scrollBarColor, scrollBarAlpha, scrollBarFade, scrollBarH, scrollBarV, readOnly, inputType, rtl, uppercase, placeholderInstant, keyboardShift, style, group, inherit)
8993
+ [31845] TextInput(width, height, placeholder, text, size, font, color, backgroundColor, borderColor, borderWidth, maxLength, password, selectionColor, selectionAlpha, cursorColor, cursorSpeed, shadowColor, shadowBlur, align, corner, padding, paddingH, paddingV, shiftH, shiftV, scrollBarActive, scrollBarDrag, scrollBarColor, scrollBarAlpha, scrollBarFade, scrollBarH, scrollBarV, readOnly, inputType, rtl, uppercase, placeholderInstant, keyboardShift, style, group, inherit)
8895
8994
 
8896
8995
  TextInput
8897
8996
  zim class - extends a zim.Window which extends a zim.Container which extends a createjs.Container
@@ -9062,7 +9161,7 @@ focus, blur are dispatched when the text gains and loses focus
9062
9161
  input is dispatched when the input text is typed or pasted into
9063
9162
  capture the key with the event object data property
9064
9163
  change is dispatched when the input text is different after losing focus (except if text is set programmatically)
9065
- capture the key with the event object key or keyCode properties
9164
+ capture the key a F.keydown event object key or keyCode properties
9066
9165
  See the events for HTML input field of type text
9067
9166
  See the events for ZIM Window()
9068
9167
  See the CreateJS Easel Docs for Container events such as:
@@ -9070,7 +9169,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
9070
9169
 
9071
9170
 
9072
9171
  ************************************
9073
- [32609] List(width, height, list, viewNum, vertical, currentSelected, align, valign, labelAlign, labelValign, labelIndent, labelIndentH, labelIndentV, indent, spacing, backgroundColor, rollBackgroundColor, downBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, backdropColor, color, rollColor, downColor, selectedColor, selectedRollColor, borderColor, borderWidth, padding, corner, swipe, scrollBarActive, scrollBarDrag, scrollBarColor, scrollBarAlpha, scrollBarFade, scrollBarH, scrollBarV, scrollBarOverlay, slide, slideFactor, slideSnap, slideSnapDamp, shadowColor, shadowBlur, paddingH, paddingV, scrollWheel, damp, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, draggable, boundary, onTop, close, closeColor, collapse, collapseColor, collapsed, excludeCustomTap, organizer, checkBox, pulldown, clone, cancelCurrentDrag, index, noScale, pulldownToggle, optimize, keyEnabled, resizeHandle, resizeBoundary, resizeVisible, continuous, closeOthers, drop, dropTargets, dropSelf, dropCopy, dropColor, dropThickness, dropScrollSpeed, dropReticleAlpha, dropHitTest, dropFull, dropSnap, dropEnd, dropScale, dropWidth, dropHeight, selectedIndex, style, group, inherit)
9172
+ [32789] List(width, height, list, viewNum, vertical, currentSelected, align, valign, labelAlign, labelValign, labelIndent, labelIndentH, labelIndentV, indent, spacing, backgroundColor, rollBackgroundColor, downBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, backdropColor, color, rollColor, downColor, selectedColor, selectedRollColor, borderColor, borderWidth, padding, corner, swipe, scrollBarActive, scrollBarDrag, scrollBarColor, scrollBarAlpha, scrollBarFade, scrollBarH, scrollBarV, scrollBarOverlay, slide, slideFactor, slideSnap, slideSnapDamp, shadowColor, shadowBlur, paddingH, paddingV, scrollWheel, damp, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, draggable, boundary, onTop, close, closeColor, collapse, collapseColor, collapsed, excludeCustomTap, organizer, checkBox, pulldown, clone, cancelCurrentDrag, index, noScale, pulldownToggle, optimize, keyEnabled, resizeHandle, resizeBoundary, resizeVisible, continuous, closeOthers, drop, dropTargets, dropSelf, dropCopy, dropColor, dropThickness, dropScrollSpeed, dropReticleAlpha, dropHitTest, dropFull, dropSnap, dropEnd, dropScale, dropWidth, dropHeight, selectedIndex, style, group, inherit)
9074
9173
 
9075
9174
  List
9076
9175
  zim class - extends a zim.Window which extends a zim.Container which extends a createjs.Container
@@ -9602,7 +9701,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
9602
9701
 
9603
9702
 
9604
9703
  ************************************
9605
- [34836] Stepper(list, width, backgroundColor, borderColor, borderWidth, label, color, vertical, arrows, corner, shadowColor, shadowBlur, continuous, display, press, hold, holdDelay, holdSpeed, draggable, dragSensitivity, dragRange, stepperType, min, max, step, step2, arrows2, arrows2Scale, keyEnabled, keyArrows, rightForward, downForward, index, value, arrowColor, arrowScale, selectedIndex, currentValue, style, group, inherit)
9704
+ [35016] Stepper(list, width, backgroundColor, borderColor, borderWidth, label, color, vertical, arrows, corner, shadowColor, shadowBlur, continuous, display, press, hold, holdDelay, holdSpeed, draggable, dragSensitivity, dragRange, stepperType, min, max, step, step2, arrows2, arrows2Scale, keyEnabled, keyArrows, rightForward, downForward, index, value, arrowColor, arrowScale, selectedIndex, currentValue, style, group, inherit)
9606
9705
 
9607
9706
  Stepper
9608
9707
  zim class - extends a zim.Container which extends a createjs.Container
@@ -9726,7 +9825,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
9726
9825
 
9727
9826
 
9728
9827
  ************************************
9729
- [35796] Slider(min, max, step, button, barLength, barWidth, barColor, vertical, useTicks, tickColor, tickStep, semiTicks, tickScale, semiTickScale, accentSize, accentOffset, accentColor, accentBackgroundColor, accentDifference, sound, inside, keyArrows, keyArrowsStep, keyArrowsH, keyArrowsV, damp, value, expand, expandVertical, expandBar, expandBarVertical, useLabels, labelMargin, labelColor, range, rangeColor, rangeWidth, rangeMin, rangeMax, rangeAve, addZero, currentValue, style, group, inherit)
9828
+ [35976] Slider(min, max, step, button, barLength, barWidth, barColor, vertical, useTicks, tickColor, tickStep, semiTicks, tickScale, semiTickScale, accentSize, accentOffset, accentColor, accentBackgroundColor, accentDifference, sound, inside, keyArrows, keyArrowsStep, keyArrowsH, keyArrowsV, damp, value, expand, expandVertical, expandBar, expandBarVertical, useLabels, labelMargin, labelColor, range, rangeColor, rangeWidth, rangeMin, rangeMax, rangeAve, addZero, currentValue, style, group, inherit)
9730
9829
 
9731
9830
  Slider
9732
9831
  zim class - extends a zim.Container which extends a createjs.Container
@@ -9877,7 +9976,7 @@ MORE: http://zimjs.com/code/bits.html?title=Slider
9877
9976
 
9878
9977
 
9879
9978
  ************************************
9880
- [36622] Selector(tile, borderColor, borderWidth, backgroundColor, corner, dashed, paddingH, paddingV, speed, diagonal, dim, multi, keyArrows, behind, resizeScale, index, liveIndex, selectedIndex, style, group, inherit);
9979
+ [36802] Selector(tile, borderColor, borderWidth, backgroundColor, corner, dashed, paddingH, paddingV, speed, diagonal, dim, multi, keyArrows, behind, resizeScale, index, liveIndex, selectedIndex, style, group, inherit);
9881
9980
 
9882
9981
  Selector
9883
9982
  zim class - extends a zim.Container which extends a createjs.Container
@@ -9992,7 +10091,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
9992
10091
 
9993
10092
 
9994
10093
  ************************************
9995
- [37098] Slicer(obj, objScale, slices, types, titleBar, remember, upload, selection, multiple, proportion, resize, style, group, inherit);
10094
+ [37278] Slicer(obj, objScale, slices, types, titleBar, remember, upload, selection, multiple, proportion, resize, style, group, inherit);
9996
10095
 
9997
10096
  Slicer
9998
10097
  zim class - extends a zim.Window which extends a zim.Container which extends a createjs.Container
@@ -10125,7 +10224,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
10125
10224
 
10126
10225
 
10127
10226
  ************************************
10128
- [37850] SlicerTypes(slicer, titleBar, sliceType, style, group, inherit);
10227
+ [38032] SlicerTypes(slicer, titleBar, sliceType, style, group, inherit);
10129
10228
 
10130
10229
  SlicerTypes
10131
10230
  zim class - extends a zim.Window which extends a zim.Container which extends a createjs.Container
@@ -10222,7 +10321,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
10222
10321
 
10223
10322
 
10224
10323
  ************************************
10225
- [38087] Dial(min, max, step, width, backgroundColor, indicatorColor, indicatorScale, indicatorType, useTicks, innerTicks, tickColor, tickStep, semiTicks, tickScale, semiTickScale, innerCircle, innerScale, innerColor, inner2Color, accentSize, accentOffset, accentColor, accentBackgroundColor, accentDifference, sound, linear, gap, limit, keyArrows, keyArrowsStep, keyArrowsH, keyArrowsV, continuous, continuousMin, continuousMax, damp, value, useLabels, labelMargin, addZero, currentValue, style, group, inherit);
10324
+ [38269] Dial(min, max, step, width, backgroundColor, indicatorColor, indicatorScale, indicatorType, useTicks, innerTicks, tickColor, tickStep, semiTicks, tickScale, semiTickScale, innerCircle, innerScale, innerColor, inner2Color, accentSize, accentOffset, accentColor, accentBackgroundColor, accentDifference, sound, linear, gap, limit, keyArrows, keyArrowsStep, keyArrowsH, keyArrowsV, continuous, continuousMin, continuousMax, damp, value, useLabels, labelMargin, addZero, currentValue, style, group, inherit);
10226
10325
 
10227
10326
  Dial
10228
10327
  zim class - extends a zim.Container which extends a createjs.Container
@@ -10364,7 +10463,7 @@ MORE: http://zimjs.com/code/bits.html?title=Dial
10364
10463
 
10365
10464
 
10366
10465
  ************************************
10367
- [38798] Tabs(width, height, tabs, backgroundColor, rollBackgroundColor, downBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, downColor, selectedColor, selectedRollColor, vertical, spacing, currentEnabled, currentSelected, corner, base, keyEnabled, gradient, gloss, backing, rollBacking, wait, waitTime, waitBackgroundColor, rollWaitBackgroundColor, waitColor, rollWaitColor, waitModal, waitEnabled, backdropColor, align, valign, labelAlign, labelValign, labelIndent, labelIndentH, labelIndentV, indent, useTap, excludeCustomTap, index, styleLabels, keyWrap, selectedIndex, style, group, inherit)
10466
+ [38980] Tabs(width, height, tabs, backgroundColor, rollBackgroundColor, downBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, downColor, selectedColor, selectedRollColor, vertical, spacing, currentEnabled, currentSelected, corner, base, keyEnabled, gradient, gloss, backing, rollBacking, wait, waitTime, waitBackgroundColor, rollWaitBackgroundColor, waitColor, rollWaitColor, waitModal, waitEnabled, backdropColor, align, valign, labelAlign, labelValign, labelIndent, labelIndentH, labelIndentV, indent, useTap, excludeCustomTap, index, styleLabels, keyWrap, selectedIndex, style, group, inherit)
10368
10467
 
10369
10468
  Tabs
10370
10469
  zim class - extends a zim.Container which extends a createjs.Container
@@ -10527,7 +10626,7 @@ MORE: http://zimjs.com/code/bits.html?title=Tabs
10527
10626
 
10528
10627
 
10529
10628
  ************************************
10530
- [39743] Pad(width, cols, rows, keys, backgroundColor, rollBackgroundColor, downBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, downColor, selectedColor, selectedRollColor, spacing, currentEnabled, currentSelected, corner, labelColor, gradient, gloss, backing, rollBacking, wait, waitTime, waitBackgroundColor, rollWaitBackgroundColor, waitColor, rollWaitColor, waitModal, waitEnabled, index, selectedIndex, style, group, inherit)
10629
+ [39925] Pad(width, cols, rows, keys, backgroundColor, rollBackgroundColor, downBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, downColor, selectedColor, selectedRollColor, spacing, currentEnabled, currentSelected, corner, labelColor, gradient, gloss, backing, rollBacking, wait, waitTime, waitBackgroundColor, rollWaitBackgroundColor, waitColor, rollWaitColor, waitModal, waitEnabled, index, selectedIndex, style, group, inherit)
10531
10630
 
10532
10631
  Pad
10533
10632
  zim class - extends a zim.Container which extends a createjs.Container
@@ -10651,7 +10750,7 @@ MORE: http://zimjs.com/code/bits.html?title=Pad
10651
10750
 
10652
10751
 
10653
10752
  ************************************
10654
- [40019] NumPad(advanced, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, backgroundColor, borderColor, borderWidth, corner, numberCorner, close, closeColor, collapse, collapseColor, collapsed, align, shadowColor, shadowBlur, draggable, boundary, style, group, inherit)
10753
+ [40201] NumPad(advanced, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, backgroundColor, borderColor, borderWidth, corner, numberCorner, close, closeColor, collapse, collapseColor, collapsed, align, shadowColor, shadowBlur, draggable, boundary, style, group, inherit)
10655
10754
 
10656
10755
  NumPad
10657
10756
  zim class - extends a zim.Panel which extends a zim.Container which extends a createjs.Container
@@ -10749,7 +10848,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
10749
10848
 
10750
10849
 
10751
10850
  ************************************
10752
- [40215] DPad(axis, width, backgroundColor, borderWidth, borderColor, indicatorColor, indicatorPressColor, indicatorScale, indicatorRadius, innerCircle, innerScale, activeRadius, clamp, logo, style, group, inherit)
10851
+ [40397] DPad(axis, width, backgroundColor, borderWidth, borderColor, indicatorColor, indicatorPressColor, indicatorScale, indicatorRadius, innerCircle, innerScale, activeRadius, clamp, logo, style, group, inherit)
10753
10852
 
10754
10853
  DPad
10755
10854
  zim class - extends a zim.Container which extends a createjs.Container
@@ -10835,7 +10934,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
10835
10934
 
10836
10935
 
10837
10936
  ************************************
10838
- [40425] Radial(labels, size, font, height, coreRadius, coreColor, startAngle, totalAngle, angles, flip, shiftV, icons, rollIcons, rotateIcons, iconsShiftVertical, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, backdropColor, color, rollColor, selectedColor, selectedRollColor, borderColor, borderWidth, gradient, gap, gapAsAngle, spacing, spacingInner, spacingOuter, currentEnabled, currentSelected, index, selectedIndex, style, group, inherit)
10937
+ [40607] Radial(labels, size, font, height, coreRadius, coreColor, startAngle, totalAngle, angles, flip, shiftV, icons, rollIcons, rotateIcons, iconsShiftVertical, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, backdropColor, color, rollColor, selectedColor, selectedRollColor, borderColor, borderWidth, gradient, gap, gapAsAngle, spacing, spacingInner, spacingOuter, currentEnabled, currentSelected, index, selectedIndex, style, group, inherit)
10839
10938
 
10840
10939
  Radial
10841
10940
  zim class - extends a zim.Container which extends a createjs.Container
@@ -10963,7 +11062,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
10963
11062
 
10964
11063
 
10965
11064
  ************************************
10966
- [40835] RadialMenu(menu, size, font, height, coreRadius, coreColor, title, titleIcon, startAngle, totalAngle, flip, shiftRadial, rotateIcons, iconsShiftRadial, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, backdropColor, color, rollColor, selectedColor, selectedRollColor, borderColor, borderWidth, gradient, gap, gapAsAngle, spacing, spacingInner, spacingOuter, currentEnabled, currentSelected, open, under, style, group, inherit)
11065
+ [41017] RadialMenu(menu, size, font, height, coreRadius, coreColor, title, titleIcon, startAngle, totalAngle, flip, shiftRadial, rotateIcons, iconsShiftRadial, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, backdropColor, color, rollColor, selectedColor, selectedRollColor, borderColor, borderWidth, gradient, gap, gapAsAngle, spacing, spacingInner, spacingOuter, currentEnabled, currentSelected, open, under, style, group, inherit)
10967
11066
 
10968
11067
  RadialMenu
10969
11068
  zim class - extends a zim.Container which extends a createjs.Container
@@ -11157,7 +11256,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
11157
11256
 
11158
11257
 
11159
11258
  ************************************
11160
- [41288] ColorPicker(width, colors, cols, spacing, greyPicker, alphaPicker, startBackgroundColor, draggable, shadowColor, shadowBlur, buttonBar, circles, indicator, backgroundColor, keyArrows, container, index, selectedColor, dropperTarget, spectrumCollapse, spectrumMode, spectrumClose, spectrumOk, spectrumTitle, tolerancePicker, collapsed, selectedIndex, style, group, inherit)
11259
+ [41471] ColorPicker(width, colors, cols, spacing, greyPicker, alphaPicker, startBackgroundColor, draggable, shadowColor, shadowBlur, buttonBar, circles, indicator, backgroundColor, keyArrows, container, index, selectedColor, dropperTarget, spectrumCollapse, spectrumMode, spectrumClose, spectrumOk, spectrumTitle, tolerancePicker, collapsed, selectedIndex, style, group, inherit)
11161
11260
 
11162
11261
  ColorPicker
11163
11262
  zim class - extends a zim.Container which extends a createjs.Container
@@ -11323,7 +11422,7 @@ MORE: http://zimjs.com/code/bits.html?title=ColorPicker
11323
11422
 
11324
11423
 
11325
11424
  ************************************
11326
- [42435] EmojiPicker(width, height, emojis, monochrome, backgroundColor, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, cache, size, collapse, collapseColor, collapsed, colSize, rowSize, style, group, inherit)
11425
+ [42618] EmojiPicker(width, height, emojis, monochrome, backgroundColor, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, cache, size, collapse, collapseColor, collapsed, colSize, rowSize, style, group, inherit)
11327
11426
 
11328
11427
  EmojiPicker
11329
11428
  zim class - extends a zim.Window which extends a zim.Container which extends a createjs.Container
@@ -11417,7 +11516,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
11417
11516
 
11418
11517
 
11419
11518
  ************************************
11420
- [42597] TextEditor(width, color, backgroundColor, fieldColor, fieldHeight, textSize, sizeList, optionList, colorList, fontList, live, button, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, wrap, limit, scroll, placeholder, password, borderColor, borderWidth, margin, corner, shadowColor, shadowBlur, draggable, boundary, frame, fontListHeight, fontListViewNum, style, group, inherit)
11519
+ [42780] TextEditor(width, color, backgroundColor, fieldColor, fieldHeight, textSize, sizeList, optionList, colorList, fontList, live, button, titleBar, titleBarColor, titleBarBackgroundColor, titleBarHeight, wrap, limit, scroll, placeholder, password, borderColor, borderWidth, margin, corner, shadowColor, shadowBlur, draggable, boundary, frame, fontListHeight, fontListViewNum, style, group, inherit)
11421
11520
 
11422
11521
  TextEditor
11423
11522
  zim class - extends a zim.Panel which extends a zim.Container which extends a createjs.Container
@@ -11577,7 +11676,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
11577
11676
 
11578
11677
 
11579
11678
  ************************************
11580
- [43149] Keyboard(labels, backgroundColor, color, shiftBackgroundColor, shiftHoldBackgroundColor, placeBackgroundColor, placeColor, cursorColor, shadeAlpha, borderColor, borderWidth, margin, corner, draggable, placeClose, shadowColor, shadowBlur, container, data, place, placeShiftH, placeShiftV, placeScale, special, rtl, hardKeyboard, layout, numPadScale, numPadDraggable, numPadOnly, numPadAdvanced, maxLength, numbersOnly, style, group, inherit)
11679
+ [43332] Keyboard(labels, backgroundColor, color, shiftBackgroundColor, shiftHoldBackgroundColor, placeBackgroundColor, placeColor, cursorColor, shadeAlpha, borderColor, borderWidth, margin, corner, draggable, placeClose, shadowColor, shadowBlur, container, data, place, placeShiftH, placeShiftV, placeScale, special, rtl, hardKeyboard, layout, numPadScale, numPadDraggable, numPadOnly, numPadAdvanced, maxLength, numbersOnly, style, group, inherit)
11581
11680
 
11582
11681
  Keyboard
11583
11682
  zim class - extends a zim.Container which extends a createjs.Container
@@ -11782,7 +11881,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
11782
11881
 
11783
11882
 
11784
11883
  ************************************
11785
- [44641] Organizer(width, list, useAdd, useRemove, usePosition, autoAdd, autoRemove, autoPosition, addForward, removeForward, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, selectedColor, selectedRollColor, spacing, corner, keyEnabled, gradient, gloss, backdropColor, style, group, inherit)
11884
+ [44824] Organizer(width, list, useAdd, useRemove, usePosition, autoAdd, autoRemove, autoPosition, addForward, removeForward, backgroundColor, rollBackgroundColor, selectedBackgroundColor, selectedRollBackgroundColor, color, rollColor, selectedColor, selectedRollColor, spacing, corner, keyEnabled, gradient, gloss, backdropColor, style, group, inherit)
11786
11885
 
11787
11886
  Organizer
11788
11887
  zim class - extends a zim.Tabs which extends a zim.Container which extends a createjs.Container
@@ -11919,7 +12018,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
11919
12018
 
11920
12019
 
11921
12020
  ************************************
11922
- [45035] Connectors(width, height, points, node, line, linear, linearWrap, linearOrder, num, snapH, snapV, dropType, dropArray, continuous, startIndex, duplicateLine, deleteNode, dblclick, fullMove, min, max, boundary, expand, nodeRollColor, nodeRollBorderColor, nodeSelectedColor, nodeSelectedBorderColor, baseColor, baseBorderColor, baseRollover, rootLock, grandChildren, dblclickTime, steps, style, group, inherit)
12021
+ [45218] Connectors(width, height, points, node, line, linear, linearWrap, linearOrder, num, snapH, snapV, dropType, dropArray, continuous, startIndex, duplicateLine, deleteNode, dblclick, fullMove, min, max, boundary, expand, nodeRollColor, nodeRollBorderColor, nodeSelectedColor, nodeSelectedBorderColor, baseColor, baseBorderColor, baseRollover, rootLock, grandChildren, dblclickTime, steps, style, group, inherit)
11923
12022
 
11924
12023
  Connectors
11925
12024
  zim class - extends a zim.Container which extends a createjs.Container
@@ -12215,7 +12314,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
12215
12314
 
12216
12315
 
12217
12316
  ************************************
12218
- [46379] Marquee(width, height, items, time, transition, speed, direction, marginLeft, marginRight, marqueeType, borderColor, borderWidth, refresh, mix, style, group, inherit)
12317
+ [46562] Marquee(width, height, items, time, transition, speed, direction, marginLeft, marginRight, marqueeType, borderColor, borderWidth, refresh, mix, style, group, inherit)
12219
12318
 
12220
12319
  Marquee
12221
12320
  zim class - extends a zim.Container which extends a createjs.Container
@@ -12256,17 +12355,17 @@ PARAMETERS
12256
12355
  width - (default 300) width of marquee content
12257
12356
  final marquee width will have marginLeft and marginRight added to this width
12258
12357
  height - (default 100) height of content and marquee
12259
- items - default(null) an array of Display Objects - can be interactive
12260
- time - default(5) time interval in seconds for changing items (also see ZIM TIME constant)
12358
+ items - (default null) an array of Display Objects - can be interactive
12359
+ time - (default 5) time interval in seconds for changing items (also see ZIM TIME constant)
12261
12360
  also see marqueeTime property for each item to individually override the time for viewing
12262
- transition - default("slide") the transition between items
12361
+ transition - (default "slide") the transition between items
12263
12362
  options are: "none", "reveal", "slide", "fade", "clear", "black", "white", "fan"
12264
- speed - default(.5) speed of transition in seconds (also see ZIM TIME constant)
12265
- direction - default(RIGHT) location of next item relative to current item
12363
+ speed - (default .5) speed of transition in seconds (also see ZIM TIME constant)
12364
+ direction - (default RIGHT) location of next item relative to current item
12266
12365
  options are: RIGHT, LEFT, UP, DOWN
12267
- marginLeft - default(25) width at left of content for Indicator and Pause button
12366
+ marginLeft - (default 25) width at left of content for Indicator and Pause button
12268
12367
  set to 0 to not show indicator and pause button
12269
- marginRight - default(25) width at right of content for Z logo with animated MARQUEE
12368
+ marginRight - (default 25) width at right of content for Z logo with animated MARQUEE
12270
12369
  set to 0 to not show Z logo with animated MARQUEE
12271
12370
  marqueeType - (default "dot" or "circle") the Indicator type - also "box" or "square"
12272
12371
  borderColor - (default dark) border color - any ZIM or HTML color - set to -1 for no border
@@ -12343,7 +12442,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
12343
12442
 
12344
12443
 
12345
12444
  ************************************
12346
- [46805] Carousel(items, viewNum, time, spacing, backgroundColor, backing, padding, paddingH, paddingV, arrowLeft, arrowRight, arrowGap, valign, ease, swipe, remember, index, continuous, selectedIndex, style, group, inherit)
12445
+ [46988] Carousel(items, viewNum, time, spacing, backgroundColor, backing, padding, paddingH, paddingV, arrowLeft, arrowRight, arrowGap, valign, ease, swipe, remember, index, continuous, selectedIndex, style, group, inherit)
12347
12446
 
12348
12447
  Carousel
12349
12448
  zim class - extends a zim.Container which extends a createjs.Container
@@ -12375,24 +12474,24 @@ PARAMETERS
12375
12474
  items - default(seven multicolored rectangles) an array of Display Objects - can be interactive
12376
12475
  items will be scaled to the most common width and tiled - see the tile property
12377
12476
  a String item will be converted to a new Pic(item)
12378
- viewNum - default(3) the number of items to show
12379
- time - default(.2) time in seconds to animate between items (also see ZIM TIME constant)
12380
- spacing - default(20) the space between the items
12381
- backgroundColor - default(clear) the backgroundColor - also see background property
12382
- backing - default(null) - an optional backing DisplayObject that goes on top of the backing and under the tile
12383
- padding - default(0) - the default for the background outside the tile
12384
- paddingH - default(padding) - the horizontal padding to override the padding setting
12385
- paddingV - default(padding) - the vertical padding to override the padding setting
12386
- arrowLeft - default(new Arrow().rot(180)) - an arrow for going left
12387
- arrowRight - default(new Arrow()) - an arrow for going right
12388
- arrowGap - default(20) the gap between the arrow and the backing
12389
- valign - default(CENTER) the vertical alignment of the tile items
12390
- ease - default(quadInOut) the ease of the animation - see ZIM animate() ease parameter for types
12391
- swipe - default(true) set to false to not make the tile swipeable - see also the swipe property
12392
- remember - default("zimCarousel") set to false to not remember the index when reloading the page
12393
- index - default(0 or remembered index) the starting index - see also the index property
12477
+ viewNum - (default 3) the number of items to show
12478
+ time - (default .2) time in seconds to animate between items (also see ZIM TIME constant)
12479
+ spacing - (default 20) the space between the items
12480
+ backgroundColor - (default clear) the backgroundColor - also see background property
12481
+ backing - (default null) - an optional backing DisplayObject that goes on top of the backing and under the tile
12482
+ padding - (default 0) - the default for the background outside the tile
12483
+ paddingH - (default padding) - the horizontal padding to override the padding setting
12484
+ paddingV - (default padding) - the vertical padding to override the padding setting
12485
+ arrowLeft - (default new Arrow().rot(180)) - an arrow for going left
12486
+ arrowRight - (default new Arrow()) - an arrow for going right
12487
+ arrowGap - (default 20) the gap between the arrow and the backing
12488
+ valign - (default CENTER) the vertical alignment of the tile items
12489
+ ease - (default quadInOut) the ease of the animation - see ZIM animate() ease parameter for types
12490
+ swipe - (default true) set to false to not make the tile swipeable - see also the swipe property
12491
+ remember - (default "zimCarousel") set to false to not remember the index when reloading the page
12492
+ index - (default 0 or remembered index) the starting index - see also the index property
12394
12493
  this is the index of the first (left) item in view
12395
- continuous - default(true) set to false to stop at ends
12494
+ continuous - (default true) set to false to stop at ends
12396
12495
  this will clone the items and use the modulus to keep index numbers correct
12397
12496
  if continuous is false and the carousel is cycled then it will bounce back and forth
12398
12497
  selectedIndex - same as index, kept in for backwards compatibility in ZIM DUO
@@ -12471,7 +12570,174 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
12471
12570
 
12472
12571
 
12473
12572
  ************************************
12474
- [47317] Loader(width, height, label, type, backgroundColor, rollBackgroundColor, color, rollColor, borderColor, borderWidth, corner, shadowColor, shadowBlur, hitPadding, gradient, gloss, dashed, backing, rollBacking, rollPersist, icon, rollIcon, toggle, toggleBacking, rollToggleBacking, toggleIcon, rollToggleIcon, toggleEvent, frame, multiple, accept, style, group, inherit)
12573
+ [47501] Carousel3D(width, height, items, widthFactor, heightFactor, curve, interactive, continuous, fade, fadeColor, vertical, sensitivity, damp, factor, index, style, group, inherit)
12574
+
12575
+ Carousel3D
12576
+ zim class - extends a zim.Container which extends a createjs.Container
12577
+
12578
+ DESCRIPTION
12579
+ A 3D carousel that cycles through items as it is swiped
12580
+ or using next(), prev() or go() methods or index property.
12581
+ Can be horizontal or vertical.
12582
+ See: ZIM Carousel for a 2D component.
12583
+ See: https://zimjs.com/018/carousel3D.html for an example
12584
+
12585
+ NOTE: as of ZIM 5.5.0 the zim namespace is no longer required (unless zns is set to true before running zim)
12586
+
12587
+ EXAMPLE
12588
+ // normally load this in the Frame()
12589
+ F.loadAssets("ai_monsters.png", "https://zimjs.org/assets/");
12590
+ F.on("complete", ()=>{
12591
+ const pages = [];
12592
+ loop(4*4, i=>{
12593
+ const sprite = new Sprite("ai_monsters.png", 4, 4)
12594
+ .run({frame:i})
12595
+ .reg(CENTER);
12596
+ pages.push(sprite);
12597
+ });
12598
+
12599
+ // 2.5 will spread the items more in the width
12600
+ // 10 will increase height difference
12601
+ // .6 will curve them a little more
12602
+ const carousel = new zim.Carousel3D(700, 500, pages, 2.5, 10, .6)
12603
+ .center()
12604
+ .change(()=>{
12605
+ indicator.index = carousel.index;
12606
+ });
12607
+
12608
+ // optional indicator
12609
+ const indicator = new Indicator({
12610
+ width:pages.length*20,
12611
+ height:25,
12612
+ num:pages.length,
12613
+ interactive:true,
12614
+ toggleFirst:false,
12615
+ delayLights:true
12616
+ }).pos(0,80,CENTER,BOTTOM).change(()=>{
12617
+ carousel.go(indicator.index);
12618
+ });
12619
+
12620
+ // optional arrows
12621
+ new Arrow().pos(50,0,RIGHT,CENTER).tap(()=>{
12622
+ carousel.next();
12623
+ });
12624
+ new Arrow().rot(180).pos(50,0,LEFT,CENTER).tap(()=>{
12625
+ carousel.prev();
12626
+ });
12627
+ S.update();
12628
+ });
12629
+
12630
+ PARAMETERS
12631
+ ** supports DUO - parameters or single object with properties below
12632
+ ** supports OCT - parameter defaults can be set with STYLE control (like CSS)
12633
+ width - (default 300) the width of the component
12634
+ if vertical is false then this may not match the actual content as the equations for spreading are complex
12635
+ if vertical is true then this will set the width of the items to match
12636
+ note: if horizontal, the fade is applied across the width, so this can be adjusted to affect the fade effect
12637
+ height - (default 200) the height of the component
12638
+ if vertical is false then this will set the height of the items to match
12639
+ if vertical is true then this may not match the actual content as the equations for spreading are complex
12640
+ note: if vertical, the fade is applied across the height, so this can be adjusted to affect the fade effect
12641
+ items - (default six Pages) an array of Display Objects
12642
+ items will be scaled to the height of the component if the vertical is false
12643
+ or to the width of the component if the vertical is true
12644
+ a String item will be converted to a new Pic(item)
12645
+ if the item is not a form of Container then it will be placed in a Container so fade will work
12646
+ the original item will then be available as currentItem.content
12647
+ items will also automatically have their registration points set to the center
12648
+ widthFactor - (default 1) a number to spread out items horizontally - just experiment, for instance 2.5 or 10 and see results
12649
+ heightFactor - (default 1) a number to spread out items vertically - just experiment, for instance 2.5 or 10 and see results
12650
+ curve - (default .5) a ratio from 0-1 that will move outside items inward to make the carousel look more curved
12651
+ the equations for spreading out and scaling the items is pretty tricky
12652
+ settings also change depending on the number of items
12653
+ adjust widthFactor, heightFactor and curve until the desired look is reached
12654
+ for a horizontal carousel, adjusting the height factor will cause outside items to get smaller faster
12655
+ sometimes outside items will appear to float so then increase the curve
12656
+ sometimes the curve will cause unexpected behavior like crossing over... then reduce the curve... try .98 rather than 1 etc.
12657
+ interactive - (default false) set to true to allow interactivity within the items
12658
+ setting to true may remove swiping on the items - but this can be adjusted
12659
+ for instance, use a Page() to hold the interactive objects
12660
+ then for each page set page.background.noMouse()
12661
+ and then the items can be swiped and the interactive objects interacted with
12662
+ continuous - (default true) set to false to stop at the last item and not go backwards past the first item
12663
+ fade - (default .5) the outside alpha of the fade object that gets added to each item
12664
+ the fade object is added automatically to the top of the item and is a rectangle colored to the fadeColor parameter
12665
+ set fade to 1 to completely fade, set fade to 0 or false to not fade
12666
+ the fade is applied with 0 in the middle and the fade amount at the edges
12667
+ based on the provided width parameter for horizontal or height parameter for vertical
12668
+ so whichever of these values can be adjusted to fine tune the fade
12669
+ fadeColor - (default Frame.color) the color of the fade object - see fade
12670
+ note: just setting the alpha of an item will not work as there are items beneath
12671
+ so a fade object has been added to each item
12672
+ vertical - (default false) set to true to make a vertical carousel
12673
+ sensitivity - (default .2) the sensitivity of the ZIM Swiper() object
12674
+ set to higher to speed up and lower to slow down
12675
+ damp - (default .1) the damp value with 1 being no damping and 0 being no movement
12676
+ factor - (default 1) set to -1 to swipe the opposite way
12677
+ index - (default 0) set the desired starting index - see also the index property
12678
+ selectedIndex - same as index, kept in for backwards compatibility in ZIM DUO
12679
+ style - (default true) set to false to ignore styles set with the STYLE - will receive original parameter defaults
12680
+ group - (default null) set to String (or comma delimited String) so STYLE can set default styles to the group(s) (like a CSS class)
12681
+ inherit - (default null) used internally but can receive an {} of styles directly
12682
+
12683
+ METHODS
12684
+ go(index, immediate, wrap) - go to an index - returns the object for chaining
12685
+ immediate defaults to false - set to true to avoid animating
12686
+ wrap defaults to false - set to true to animate the shortest route to the index
12687
+ for instance, if there are 22 items and the carousel is at index 2
12688
+ if wrap is false, it will animate forward (2,3,4,...19,20) to target index of 20
12689
+ if wrap is true, it will animate backwards (2,1,22,21,20) to a target index of 20
12690
+ prev(immediate) - go to the previous item - returns object for chaining
12691
+ immediate defaults to false - set to true to go to the item without animating
12692
+ next(immediate) - go to the next item - returns object for chaining
12693
+ immediate defaults to false - set to true to go to the item without animating
12694
+ addItem(item, index) - add an item or an array of items at an index (default at the end)
12695
+ this will adjust the items array and call makeCarousel
12696
+ removeItem(index, num) - remove an item at an index - pass an optional num to remove that many items
12697
+ makeCarousel() - if the items array is changed must call makeCarousel - see the items property
12698
+ clone() - makes a copy with properties such as x, y, etc. also copied
12699
+ dispose() - removes from parent, removes event listeners - must still set outside references to null for garbage collection
12700
+
12701
+ ALSO: ZIM 4TH adds all the methods listed under Container (see above), such as:
12702
+ drag(), hitTestRect(), animate(), sca(), reg(), mov(), center(), centerReg(),
12703
+ addTo(), removeFrom(), loop(), outline(), place(), pos(), alp(), rot(), setMask(), etc.
12704
+ ALSO: see the CreateJS Easel Docs for Container methods, such as:
12705
+ on(), off(), getBounds(), setBounds(), cache(), uncache(), updateCache(), dispatchEvent(),
12706
+ addChild(), removeChild(), addChildAt(), getChildAt(), contains(), removeAllChildren(), etc.
12707
+
12708
+ PROPERTIES
12709
+ type - holds the class name as a String
12710
+ index - get or set the index of the item
12711
+ selectedItem - the item at the front
12712
+ each item has a content property if the item was added to a container by the carousel (only if item was not a container)
12713
+ each item has a fader property which is a ZIM Rectangle - if the fade was not false or 0
12714
+ items - the array of items
12715
+ if setting this then call makeCarousel() - also see addItem() and removeItem()
12716
+ curve - get or set the curve - see the curve parameter
12717
+ continuous - get or set whether the carousel is continuous - see the continuous parameter
12718
+ if setting this then call makeCarousel()
12719
+ swiper - reference to the ZIM Swiper object
12720
+ backing - the clear rectangle that is the swiper object
12721
+ holder - the Container that holds all the items
12722
+
12723
+ ALSO: see ZIM Container for properties such as:
12724
+ width, height, widthOnly, heightOnly, draggable, level, depth, group
12725
+ blendMode, hue, saturation, brightness, contrast, etc.
12726
+
12727
+ ALSO: see the CreateJS Easel Docs for Container properties, such as:
12728
+ x, y, rotation, scaleX, scaleY, regX, regY, skewX, skewY,
12729
+ alpha, cursor, shadow, name, mouseChildren, mouseEnabled, parent, numChildren, etc.
12730
+
12731
+ EVENTS
12732
+ dispatches a "change" event (or use change() method) when a new item is at the front
12733
+ dispatches a "still" event when the pointer is up and the carousel has stopped movings
12734
+
12735
+ ALSO: see the CreateJS Easel Docs for Container events such as:
12736
+ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmove, pressup, removed, rollout, rollover
12737
+
12738
+
12739
+ ************************************
12740
+ [47983] Loader(width, height, label, type, backgroundColor, rollBackgroundColor, color, rollColor, borderColor, borderWidth, corner, shadowColor, shadowBlur, hitPadding, gradient, gloss, dashed, backing, rollBacking, rollPersist, icon, rollIcon, toggle, toggleBacking, rollToggleBacking, toggleIcon, rollToggleIcon, toggleEvent, frame, multiple, accept, style, group, inherit)
12475
12741
 
12476
12742
  Loader
12477
12743
  zim class - extends a zim.Button which extends a zim.Container
@@ -12713,7 +12979,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
12713
12979
 
12714
12980
 
12715
12981
  ************************************
12716
- [47975] TextArea(width, height, placeholder, text, size, padding, color, backgroundColor, borderColor, borderWidth, corner, shadowColor, shadowBlur, dashed, id, readOnly, spellCheck, password, inputType, wrap, maxLength, frame, expand, keyboardShift, style, group, inherit)
12982
+ [48641] TextArea(width, height, placeholder, text, size, padding, color, backgroundColor, borderColor, borderWidth, corner, shadowColor, shadowBlur, dashed, id, readOnly, spellCheck, password, inputType, wrap, maxLength, frame, expand, keyboardShift, style, group, inherit)
12717
12983
 
12718
12984
  TextArea
12719
12985
  zim class - extends a zim.Container which extends a createjs.Container
@@ -12873,7 +13139,7 @@ MODULE 3: ZIM METHODS
12873
13139
  ------------------------------------
12874
13140
 
12875
13141
  ************************************
12876
- [48493] obj.cache(width||x, height||y, null||width, null||height, scale, options, margin)
13142
+ [49168] obj.cache(width||x, height||y, null||width, null||height, scale, options, margin)
12877
13143
 
12878
13144
  cache
12879
13145
  zim DisplayObject method overrides CreateJS cache() method with more flexible parameters
@@ -12944,7 +13210,7 @@ RETURNS obj for chaining
12944
13210
 
12945
13211
 
12946
13212
  ************************************
12947
- [48570] obj.updateCache(blendMode)
13213
+ [49245] obj.updateCache(blendMode)
12948
13214
 
12949
13215
  updateCache
12950
13216
  CreateJS method
@@ -12977,7 +13243,7 @@ RETURNS null
12977
13243
 
12978
13244
 
12979
13245
  ************************************
12980
- [48608] obj.uncache()
13246
+ [49283] obj.uncache()
12981
13247
 
12982
13248
  uncache
12983
13249
  zim DisplayObject method overrides CreateJS cache() to return object for chaining
@@ -13006,7 +13272,7 @@ RETURNS obj for chaining
13006
13272
 
13007
13273
 
13008
13274
  ************************************
13009
- [48642] obj.on(type, listener, scope, once, data, useCapture)
13275
+ [49317] obj.on(type, listener, scope, once, data, useCapture)
13010
13276
 
13011
13277
  on
13012
13278
  CreateJS method
@@ -13132,7 +13398,7 @@ RETURNS a reference to use as the second parameter of the off() method to turn t
13132
13398
 
13133
13399
 
13134
13400
  ************************************
13135
- [48776] obj.off(type, listener, useCapture)
13401
+ [49451] obj.off(type, listener, useCapture)
13136
13402
 
13137
13403
  off
13138
13404
  CreateJS method
@@ -13177,7 +13443,7 @@ RETURNS null
13177
13443
 
13178
13444
 
13179
13445
  ************************************
13180
- [48826] obj.removeAllEventListeners(type)
13446
+ [49501] obj.removeAllEventListeners(type)
13181
13447
 
13182
13448
  removeAllEventListeners
13183
13449
  CreateJS method
@@ -13200,7 +13466,7 @@ RETURNS null
13200
13466
 
13201
13467
 
13202
13468
  ************************************
13203
- [48854] obj.getBounds()
13469
+ [49529] obj.getBounds()
13204
13470
 
13205
13471
  getBounds
13206
13472
  CreateJS method
@@ -13236,7 +13502,7 @@ RETURNS object with x, y, width and height properties
13236
13502
 
13237
13503
 
13238
13504
  ************************************
13239
- [48895] obj.setBounds(width||x||Boundary, height||y, null||width, null||height)
13505
+ [49570] obj.setBounds(width||x||Boundary, height||y, null||width, null||height)
13240
13506
 
13241
13507
  setBounds
13242
13508
  zim DisplayObject method overrides CreateJS setBounds() method with more flexible parameters
@@ -13286,7 +13552,7 @@ RETURNS the object for chaining
13286
13552
 
13287
13553
 
13288
13554
  ************************************
13289
- [48951] obj.localToGlobal(x, y)
13555
+ [49626] obj.localToGlobal(x, y)
13290
13556
 
13291
13557
  localToGlobal
13292
13558
  zim DisplayObject method overrides CreateJS localToGlobal() method with adjustment for scaled stage due to retina pixel density
@@ -13323,7 +13589,7 @@ RETURNS a Point with x and y properties on the stage (global) that match the pro
13323
13589
 
13324
13590
 
13325
13591
  ************************************
13326
- [48993] obj.globalToLocal(x, y)
13592
+ [49668] obj.globalToLocal(x, y)
13327
13593
 
13328
13594
  globalToLocal
13329
13595
  zim DisplayObject method overrides CreateJS globalToLocal() method with adjustment for scaled stage due to retina pixel density
@@ -13364,7 +13630,7 @@ RETURNS a Point with x and y properties inside the container that match the prov
13364
13630
 
13365
13631
 
13366
13632
  ************************************
13367
- [49039] obj.localToLocal(x, y, target)
13633
+ [49714] obj.localToLocal(x, y, target)
13368
13634
 
13369
13635
  localToLocal
13370
13636
  zim DisplayObject method overrides CreateJS localToLocal() method with adjustment for scaled stage due to retina pixel density
@@ -13406,7 +13672,7 @@ RETURNS a Point with x and y properties in the target container that match the p
13406
13672
 
13407
13673
 
13408
13674
  ************************************
13409
- [49086] obj.clone(exact)
13675
+ [49761] obj.clone(exact)
13410
13676
 
13411
13677
  clone
13412
13678
  zim DisplayObject method overrides CreateJS cache()
@@ -13439,7 +13705,7 @@ RETURNS the object for chaining
13439
13705
 
13440
13706
 
13441
13707
  ************************************
13442
- [49125] obj.dispose(disposing)
13708
+ [49800] obj.dispose(disposing)
13443
13709
 
13444
13710
  dispose
13445
13711
  zim DisplayObject method
@@ -13476,7 +13742,7 @@ RETURNS the object for chaining
13476
13742
 
13477
13743
 
13478
13744
  ************************************
13479
- [49169] obj.addTo(container, index, still)
13745
+ [49844] obj.addTo(container, index, still)
13480
13746
 
13481
13747
  addTo
13482
13748
  zim DisplayObject method
@@ -13544,7 +13810,7 @@ MORE: http://zimjs.com/code/bits.html?title=addTo
13544
13810
 
13545
13811
 
13546
13812
  ************************************
13547
- [49256] obj.removeFrom(container)
13813
+ [49931] obj.removeFrom(container)
13548
13814
 
13549
13815
  removeFrom
13550
13816
  zim DisplayObject method
@@ -13572,7 +13838,7 @@ MORE: http://zimjs.com/code/bits.html?title=removeFrom
13572
13838
 
13573
13839
 
13574
13840
  ************************************
13575
- [49293] obj.added(call, interval, maxTime)
13841
+ [49968] obj.added(call, interval, maxTime)
13576
13842
 
13577
13843
  added
13578
13844
  zim DisplayObject method
@@ -13601,7 +13867,7 @@ RETURNS id of interval so clearInterval(id) will stop added() from checking for
13601
13867
 
13602
13868
 
13603
13869
  ************************************
13604
- [49371] obj.centerReg(container, index, add)
13870
+ [50046] obj.centerReg(container, index, add)
13605
13871
 
13606
13872
  centerReg
13607
13873
  zim DisplayObject method
@@ -13642,7 +13908,7 @@ MORE: http://zimjs.com/code/bits.html?title=centerReg
13642
13908
 
13643
13909
 
13644
13910
  ************************************
13645
- [49432] obj.center(container, index, add)
13911
+ [50107] obj.center(container, index, add)
13646
13912
 
13647
13913
  center
13648
13914
  zim DisplayObject method
@@ -13678,7 +13944,7 @@ MORE: http://zimjs.com/code/bits.html?title=center
13678
13944
 
13679
13945
 
13680
13946
  ************************************
13681
- [49544] obj.place(id)
13947
+ [50219] obj.place(id)
13682
13948
 
13683
13949
  place
13684
13950
  zim DisplayObject method
@@ -13703,7 +13969,7 @@ MORE: http://zimjs.com/code/bits.html?title=place
13703
13969
 
13704
13970
 
13705
13971
  ************************************
13706
- [49598] obj.placeReg(id)
13972
+ [50273] obj.placeReg(id)
13707
13973
 
13708
13974
  placeReg
13709
13975
  zim DisplayObject method
@@ -13723,7 +13989,7 @@ RETURNS obj for chaining
13723
13989
 
13724
13990
 
13725
13991
  ************************************
13726
- [49642] obj.pos(x, y, horizontal, vertical, container, index, add, reg, regX, regY)
13992
+ [50317] obj.pos(x, y, horizontal, vertical, container, index, add, reg, regX, regY)
13727
13993
 
13728
13994
  pos
13729
13995
  zim DisplayObject method
@@ -13807,7 +14073,7 @@ MORE: http://zimjs.com/code/bits.html?title=pos
13807
14073
 
13808
14074
 
13809
14075
  ************************************
13810
- [49932] obj.loc(target|x, y, container, index, add, localToLocal)
14076
+ [50607] obj.loc(target|x, y, container, index, add, localToLocal)
13811
14077
 
13812
14078
  loc
13813
14079
  zim DisplayObject method
@@ -13845,7 +14111,7 @@ RETURNS obj for chaining
13845
14111
 
13846
14112
 
13847
14113
  ************************************
13848
- [50019] obj.mov(x, y)
14114
+ [50694] obj.mov(x, y)
13849
14115
 
13850
14116
  mov
13851
14117
  zim DisplayObject method
@@ -13871,7 +14137,7 @@ MORE: http://zimjs.com/code/bits.html?title=mov
13871
14137
 
13872
14138
 
13873
14139
  ************************************
13874
- [50054] obj.sca(scale, scaleY)
14140
+ [50729] obj.sca(scale, scaleY)
13875
14141
 
13876
14142
  sca
13877
14143
  zim DisplayObject method
@@ -13896,7 +14162,7 @@ MORE: http://zimjs.com/code/bits.html?title=sca
13896
14162
 
13897
14163
 
13898
14164
  ************************************
13899
- [50087] obj.alp(alpha)
14165
+ [50762] obj.alp(alpha)
13900
14166
 
13901
14167
  alp
13902
14168
  zim DisplayObject method
@@ -13918,7 +14184,7 @@ MORE: http://zimjs.com/code/bits.html?title=alp
13918
14184
 
13919
14185
 
13920
14186
  ************************************
13921
- [50121] obj.vis(visible)
14187
+ [50796] obj.vis(visible)
13922
14188
 
13923
14189
  vis
13924
14190
  zim DisplayObject method
@@ -13937,7 +14203,7 @@ RETURNS obj for chaining
13937
14203
 
13938
14204
 
13939
14205
  ************************************
13940
- [50151] obj.ble(blendMode)
14206
+ [50826] obj.ble(blendMode)
13941
14207
 
13942
14208
  ble
13943
14209
  zim DisplayObject method
@@ -13970,7 +14236,7 @@ RETURNS obj for chaining
13970
14236
 
13971
14237
 
13972
14238
  ************************************
13973
- [50193] obj.dye(color)
14239
+ [50868] obj.dye(color)
13974
14240
 
13975
14241
  dye
13976
14242
  zim DisplayObject method
@@ -13991,7 +14257,7 @@ RETURNS obj for chaining
13991
14257
 
13992
14258
 
13993
14259
  ************************************
13994
- [50224] obj.hov(value, prop)
14260
+ [50899] obj.hov(value, prop)
13995
14261
 
13996
14262
  hov
13997
14263
  zim DisplayObject method
@@ -14020,7 +14286,7 @@ RETURNS obj for chaining
14020
14286
 
14021
14287
 
14022
14288
  ************************************
14023
- [50284] obj.rot(rotation, x, y)
14289
+ [50959] obj.rot(rotation, x, y)
14024
14290
 
14025
14291
  rot
14026
14292
  zim DisplayObject method
@@ -14043,7 +14309,7 @@ MORE: http://zimjs.com/code/bits.html?title=rot
14043
14309
 
14044
14310
 
14045
14311
  ************************************
14046
- [50330] obj.siz(width, height, only)
14312
+ [51005] obj.siz(width, height, only)
14047
14313
 
14048
14314
  siz
14049
14315
  zim DisplayObject method
@@ -14076,7 +14342,7 @@ RETURNS obj for chaining
14076
14342
 
14077
14343
 
14078
14344
  ************************************
14079
- [50378] obj.ske(skewX, skewY)
14345
+ [51053] obj.ske(skewX, skewY)
14080
14346
 
14081
14347
  ske
14082
14348
  zim DisplayObject method
@@ -14098,7 +14364,7 @@ MORE: http://zimjs.com/code/bits.html?title=ske
14098
14364
 
14099
14365
 
14100
14366
  ************************************
14101
- [50407] obj.reg(regX, regY, still)
14367
+ [51082] obj.reg(regX, regY, still)
14102
14368
 
14103
14369
  reg
14104
14370
  zim DisplayObject method
@@ -14138,7 +14404,7 @@ MORE: http://zimjs.com/code/bits.html?title=reg
14138
14404
 
14139
14405
 
14140
14406
  ************************************
14141
- [50492] obj.top()
14407
+ [51167] obj.top()
14142
14408
 
14143
14409
  top
14144
14410
  zim DisplayObject method
@@ -14160,7 +14426,7 @@ RETURNS obj for chaining
14160
14426
 
14161
14427
 
14162
14428
  ************************************
14163
- [50521] obj.bot()
14429
+ [51196] obj.bot()
14164
14430
 
14165
14431
  bot
14166
14432
  zim DisplayObject method
@@ -14177,7 +14443,7 @@ RETURNS obj for chaining
14177
14443
 
14178
14444
 
14179
14445
  ************************************
14180
- [50546] obj.ord(num)
14446
+ [51221] obj.ord(num)
14181
14447
 
14182
14448
  ord
14183
14449
  zim DisplayObject method
@@ -14199,7 +14465,7 @@ RETURNS obj for chaining
14199
14465
 
14200
14466
 
14201
14467
  ************************************
14202
- [50576] obj.cur(type)
14468
+ [51251] obj.cur(type)
14203
14469
 
14204
14470
  cur
14205
14471
  zim DisplayObject method
@@ -14224,7 +14490,7 @@ RETURNS obj for chaining
14224
14490
 
14225
14491
 
14226
14492
  ************************************
14227
- [50626] obj.sha(color||Shadow, offsetX, offsetY, blur)
14493
+ [51301] obj.sha(color||Shadow, offsetX, offsetY, blur)
14228
14494
 
14229
14495
  sha
14230
14496
  zim DisplayObject method
@@ -14255,7 +14521,7 @@ RETURNS obj for chaining
14255
14521
 
14256
14522
 
14257
14523
  ************************************
14258
- [50670] obj.dep(depth)
14524
+ [51345] obj.dep(depth)
14259
14525
 
14260
14526
  dep
14261
14527
  zim DisplayObject method
@@ -14279,7 +14545,7 @@ RETURNS obj for chaining
14279
14545
 
14280
14546
 
14281
14547
  ************************************
14282
- [50702] obj.nam(name)
14548
+ [51377] obj.nam(name)
14283
14549
 
14284
14550
  nam
14285
14551
  zim DisplayObject method
@@ -14324,7 +14590,7 @@ RETURNS obj for chaining
14324
14590
 
14325
14591
 
14326
14592
  ************************************
14327
- [50762] obj.movement(call)
14593
+ [51437] obj.movement(call)
14328
14594
 
14329
14595
  movement
14330
14596
  zim DisplayObject method
@@ -14352,7 +14618,7 @@ RETURNS obj for chaining
14352
14618
 
14353
14619
 
14354
14620
  ************************************
14355
- [50818] obj.noMovement()
14621
+ [51493] obj.noMovement()
14356
14622
 
14357
14623
  noMovement
14358
14624
  zim DisplayObject method
@@ -14367,7 +14633,7 @@ RETURNS obj for chaining
14367
14633
 
14368
14634
 
14369
14635
  ************************************
14370
- [50841] obj.tap(call, distance, time, once, dbl, dblTime, call2, call3, call4, cursor, mobileUp)
14636
+ [51516] obj.tap(call, distance, time, once, dbl, dblTime, call2, call3, call4, cursor, mobileUp)
14371
14637
 
14372
14638
  tap
14373
14639
  zim DisplayObject method
@@ -14441,7 +14707,7 @@ RETURNS obj for chaining
14441
14707
 
14442
14708
 
14443
14709
  ************************************
14444
- [51029] obj.noTap()
14710
+ [51704] obj.noTap()
14445
14711
 
14446
14712
  noTap
14447
14713
  zim DisplayObject method
@@ -14462,7 +14728,7 @@ RETURNS obj for chaining
14462
14728
 
14463
14729
 
14464
14730
  ************************************
14465
- [51061] obj.hold(call, distance, time, once)
14731
+ [51736] obj.hold(call, distance, time, once)
14466
14732
 
14467
14733
  hold
14468
14734
  zim DisplayObject method
@@ -14496,7 +14762,7 @@ RETURNS obj for chaining
14496
14762
 
14497
14763
 
14498
14764
  ************************************
14499
- [51151] obj.noHold()
14765
+ [51826] obj.noHold()
14500
14766
 
14501
14767
  noHold
14502
14768
  zim DisplayObject method
@@ -14515,7 +14781,7 @@ RETURNS obj for chaining
14515
14781
 
14516
14782
 
14517
14783
  ************************************
14518
- [51183] obj.change(call, once)
14784
+ [51858] obj.change(call, once)
14519
14785
 
14520
14786
  change
14521
14787
  zim DisplayObject method
@@ -14540,7 +14806,7 @@ RETURNS obj for chaining
14540
14806
 
14541
14807
 
14542
14808
  ************************************
14543
- [51218] obj.noChange()
14809
+ [51893] obj.noChange()
14544
14810
 
14545
14811
  noChange
14546
14812
  zim DisplayObject method
@@ -14558,7 +14824,7 @@ RETURNS obj for chaining
14558
14824
 
14559
14825
 
14560
14826
  ************************************
14561
- [51243] obj.drag(boundary, axis, overCursor, dragCursor, all, swipe, localBoundary, onTop, surround, slide, slideFactor, slideSnap, slideSnapDamp, reg, removeTweens, startBounds, rect, currentTarget, offStage, immediateBoundary, singleTouch, dropTargets, dropCopy, dropSnap, dropBack, dropEnd, dropFull, dropHitTest, dropScale, dropWidth, dropHeight)
14827
+ [51918] obj.drag(boundary, axis, overCursor, dragCursor, all, swipe, localBoundary, onTop, surround, slide, slideFactor, slideSnap, slideSnapDamp, reg, removeTweens, startBounds, rect, currentTarget, offStage, immediateBoundary, singleTouch, dropTargets, dropCopy, dropSnap, dropBack, dropEnd, dropFull, dropHitTest, dropScale, dropWidth, dropHeight)
14562
14828
 
14563
14829
  drag
14564
14830
  zim DisplayObject method
@@ -14729,7 +14995,7 @@ MORE: http://zimjs.com/code/bits.html?title=drag
14729
14995
 
14730
14996
 
14731
14997
  ************************************
14732
- [52256] obj.noDrag(recursive)
14998
+ [52932] obj.noDrag(recursive)
14733
14999
 
14734
15000
  noDrag
14735
15001
  zim DisplayObject method
@@ -14751,7 +15017,7 @@ RETURNS obj for chaining
14751
15017
 
14752
15018
 
14753
15019
  ************************************
14754
- [52321] obj.dragBoundary(boundary)
15020
+ [52997] obj.dragBoundary(boundary)
14755
15021
 
14756
15022
  dragBoundary
14757
15023
  zim DisplayObject method
@@ -14778,7 +15044,7 @@ RETURNS obj for chaining
14778
15044
 
14779
15045
 
14780
15046
  ************************************
14781
- [52358] obj.mouse()
15047
+ [53034] obj.mouse()
14782
15048
 
14783
15049
  mouse
14784
15050
  zim DisplayObject method
@@ -14804,7 +15070,7 @@ RETURNS obj for chaining
14804
15070
 
14805
15071
 
14806
15072
  ************************************
14807
- [52392] obj.noMouse()
15073
+ [53068] obj.noMouse()
14808
15074
 
14809
15075
  noMouse
14810
15076
  zim DisplayObject method
@@ -14829,7 +15095,7 @@ RETURNS obj for chaining
14829
15095
 
14830
15096
 
14831
15097
  ************************************
14832
- [52426] obj.wire(target, prop, twoWay, setSource, filter, call, input)
15098
+ [53102] obj.wire(target, prop, twoWay, setSource, filter, call, input)
14833
15099
 
14834
15100
  wire
14835
15101
  zim DisplayObject method
@@ -15006,7 +15272,7 @@ RETURNS obj for chaining
15006
15272
 
15007
15273
 
15008
15274
  ************************************
15009
- [52636] obj.noWire(target, prop, input)
15275
+ [53312] obj.noWire(target, prop, input)
15010
15276
 
15011
15277
  noWire
15012
15278
  zim DisplayObject method
@@ -15031,7 +15297,7 @@ RETURNS obj for chaining
15031
15297
 
15032
15298
 
15033
15299
  ************************************
15034
- [52672] obj.wired(source, prop, twoWay, setSource, filter, call, input)
15300
+ [53348] obj.wired(source, prop, twoWay, setSource, filter, call, input)
15035
15301
 
15036
15302
  wired
15037
15303
  zim DisplayObject method
@@ -15062,7 +15328,7 @@ RETURNS obj for chaining
15062
15328
 
15063
15329
 
15064
15330
  ************************************
15065
- [52712] obj.noWired()
15331
+ [53388] obj.noWired()
15066
15332
 
15067
15333
  noWired
15068
15334
  zim DisplayObject method
@@ -15079,7 +15345,7 @@ RETURNS obj for chaining
15079
15345
 
15080
15346
 
15081
15347
  ************************************
15082
- [52738] obj.bind(id, props, extra, filter, bindObj)
15348
+ [53414] obj.bind(id, props, extra, filter, bindObj)
15083
15349
 
15084
15350
  bind
15085
15351
  zim DisplayObject method
@@ -15126,7 +15392,7 @@ RETURNS obj for chaining
15126
15392
 
15127
15393
 
15128
15394
  ************************************
15129
- [52803] obj.noBind(props, removeConnectionData, call, bindObj)
15395
+ [53479] obj.noBind(props, removeConnectionData, call, bindObj)
15130
15396
 
15131
15397
  noBind
15132
15398
  zim DisplayObject method
@@ -15162,7 +15428,7 @@ RETURNS obj for chaining
15162
15428
 
15163
15429
 
15164
15430
  ************************************
15165
- [52849] obj.transform(move, stretchX, stretchY, scale, rotate, allowToggle, visible, onTop, showStretch, showRotate, showScale, showReg, showBorder, borderColor, borderWidth, dashed, customCursors, handleSize, regSize, snapDistance, snapRotation, cache, events, ghostColor, ghostWidth, ghostDashed, ghostHidden, frame, container, minScaleX, maxScaleX, minScaleY, maxScaleY, sliceX, sliceY)
15431
+ [53525] obj.transform(move, stretchX, stretchY, scale, rotate, allowToggle, visible, onTop, showStretch, showRotate, showScale, showReg, showBorder, borderColor, borderWidth, dashed, customCursors, handleSize, regSize, snapDistance, snapRotation, cache, events, ghostColor, ghostWidth, ghostDashed, ghostHidden, frame, container, minScaleX, maxScaleX, minScaleY, maxScaleY, sliceX, sliceY)
15166
15432
 
15167
15433
  transform
15168
15434
  zim DisplayObject method
@@ -15320,7 +15586,7 @@ RETURNS obj for chaining
15320
15586
 
15321
15587
 
15322
15588
  ************************************
15323
- [54180] obj.gesture(move, scale, rotate, boundary, minScale, maxScale, snapRotate, localBoundary, slide, slideFactor, regControl, onTop, surround, circularBounds, rect)
15589
+ [54856] obj.gesture(move, scale, rotate, boundary, minScale, maxScale, snapRotate, localBoundary, slide, slideFactor, regControl, onTop, surround, circularBounds, rect)
15324
15590
 
15325
15591
  gesture
15326
15592
  zim DisplayObject method
@@ -15374,7 +15640,7 @@ RETURNS obj for chaining
15374
15640
 
15375
15641
 
15376
15642
  ************************************
15377
- [54643] obj.noGesture(move, scale, rotate)
15643
+ [55319] obj.noGesture(move, scale, rotate)
15378
15644
 
15379
15645
  noGesture
15380
15646
  zim DisplayObject method
@@ -15399,7 +15665,7 @@ RETURNS obj for chaining
15399
15665
 
15400
15666
 
15401
15667
  ************************************
15402
- [54690] obj.gestureBoundary(boundary, new)
15668
+ [55366] obj.gestureBoundary(boundary, new)
15403
15669
 
15404
15670
  gestureBoundary
15405
15671
  zim DisplayObject method
@@ -15419,7 +15685,7 @@ RETURNS obj for chaining
15419
15685
 
15420
15686
 
15421
15687
  ************************************
15422
- [54733] obj.effect(effect, x, y, width, height)
15688
+ [55409] obj.effect(effect, x, y, width, height)
15423
15689
 
15424
15690
  effect
15425
15691
  zim DisplayObject method
@@ -15575,7 +15841,7 @@ RETURNS obj for chaining
15575
15841
 
15576
15842
 
15577
15843
  ************************************
15578
- [54920] obj.updateEffects(redoChache)
15844
+ [55596] obj.updateEffects(redoChache)
15579
15845
 
15580
15846
  updateEffects
15581
15847
  zim DisplayObject method
@@ -15608,7 +15874,7 @@ RETURNS obj for chaining
15608
15874
 
15609
15875
 
15610
15876
  ************************************
15611
- [54965] obj.noEffect(effects, cache)
15877
+ [55641] obj.noEffect(effects, cache)
15612
15878
 
15613
15879
  noEffect
15614
15880
  zim DisplayObject method
@@ -15647,7 +15913,7 @@ RETURNS obj for chaining
15647
15913
 
15648
15914
 
15649
15915
  ************************************
15650
- [55032] obj.addPhysics(dynamic, contract, shape, friction, linear, angular, density, bounciness, maskBits, categoryBits, physics, restitution, sensor)
15916
+ [55708] obj.addPhysics(dynamic, contract, shape, friction, linear, angular, density, bounciness, maskBits, categoryBits, physics, restitution, sensor)
15651
15917
 
15652
15918
  addPhysics
15653
15919
  zim DisplayObject method
@@ -15746,7 +16012,7 @@ RETURNS obj for chaining
15746
16012
 
15747
16013
 
15748
16014
  ************************************
15749
- [55157] obj.removePhysics()
16015
+ [55833] obj.removePhysics()
15750
16016
 
15751
16017
  removePhysics
15752
16018
  zim DisplayObject method
@@ -15763,7 +16029,7 @@ RETURNS obj for chaining
15763
16029
 
15764
16030
 
15765
16031
  ************************************
15766
- [55187] obj.hitTestPoint(x, y, boundsCheck)
16032
+ [55863] obj.hitTestPoint(x, y, boundsCheck)
15767
16033
 
15768
16034
  hitTestPoint
15769
16035
  zim DisplayObject method
@@ -15795,7 +16061,7 @@ RETURNS a Boolean true if hitting, false if not
15795
16061
 
15796
16062
 
15797
16063
  ************************************
15798
- [55238] obj.hitTestReg(other, boundsCheck)
16064
+ [55914] obj.hitTestReg(other, boundsCheck)
15799
16065
 
15800
16066
  hitTestReg
15801
16067
  zim DisplayObject method
@@ -15823,7 +16089,7 @@ MORE: http://zimjs.com/code/bits.html?title=hitTestReg
15823
16089
 
15824
16090
 
15825
16091
  ************************************
15826
- [55283] obj.hitTestRect(other, num, boundsCheck, inside)
16092
+ [55959] obj.hitTestRect(other, num, boundsCheck, inside)
15827
16093
 
15828
16094
  hitTestRect
15829
16095
  zim DisplayObject method
@@ -15860,7 +16126,34 @@ MORE: http://zimjs.com/code/bits.html?title=hitTestRect
15860
16126
 
15861
16127
 
15862
16128
  ************************************
15863
- [55380] obj.hitTestCircle(other, num, boundsCheck, inside)
16129
+ [56057] obj.hitTestRectPoint(x, y, margin)
16130
+
16131
+ hitTestRectPoint
16132
+ zim DisplayObject method
16133
+
16134
+ DESCRIPTION
16135
+ Uses an equation to see if the bounds of a rectangular object is hitting a point x, y.
16136
+ This is faster than hitTests on shapes - so will have the speed of hitTestBounds, hitTestCircles and hitTestGrid.
16137
+ A margin parameter is provided to tweak the hitTest
16138
+
16139
+ EXAMPLE
16140
+ const rect = new Rectangle(50, 50, red).center().drag();
16141
+ rect.on("pressmove", ()=>{
16142
+ if (rect.hitTestRectPoint(W/2, H/2)) {
16143
+ zog("hitting!");
16144
+ }
16145
+ });
16146
+
16147
+ PARAMETERS
16148
+ x - the global x for the point to test
16149
+ y - the global y for the point to test
16150
+ margin (default 0) pixels the bounds of the rectangle is increased or decreased to effect the hit
16151
+
16152
+ RETURNS a Boolean true if hitting, false if not
16153
+
16154
+
16155
+ ************************************
16156
+ [56100] obj.hitTestCircle(other, num, boundsCheck, inside)
15864
16157
 
15865
16158
  hitTestCircle
15866
16159
  zim DisplayObject method
@@ -15894,7 +16187,7 @@ MORE: http://zimjs.com/code/bits.html?title=hitTestCircle
15894
16187
 
15895
16188
 
15896
16189
  ************************************
15897
- [55460] obj.hitTestCircleRect(other, margin)
16190
+ [56180] obj.hitTestCircleRect(other, margin)
15898
16191
 
15899
16192
  hitTestCircleRect
15900
16193
  zim DisplayObject method
@@ -15914,7 +16207,7 @@ const ball = new Circle(50, red).center().drag();
15914
16207
  const box = new Rectangle(100, 100, blue).loc(100,100);
15915
16208
  ball.on("pressmove", ()=>{
15916
16209
  if (ball.hitTestCircleRect(box)) {
15917
- zog("points!");
16210
+ zog("hitting!");
15918
16211
  }
15919
16212
  });
15920
16213
 
@@ -15926,7 +16219,36 @@ RETURNS a Boolean true if hitting, false if not
15926
16219
 
15927
16220
 
15928
16221
  ************************************
15929
- [55526] obj.hitTestCircles(other, margin)
16222
+ [56246] obj.hitTestCirclePoint(x, y, margin)
16223
+
16224
+ hitTestCirclePoint
16225
+ zim DisplayObject method
16226
+
16227
+ DESCRIPTION
16228
+ Uses an equation to see if a circlular object is hitting a point x, y.
16229
+ This is faster than hitTests on shapes - so will have the speed of hitTestBounds, hitTestCircles and hitTestGrid.
16230
+ The circle is based on a the object radius if there is one
16231
+ and if no radius then the average of the width and height divided by two.
16232
+ A margin parameter is provided to tweak the hitTest
16233
+
16234
+ EXAMPLE
16235
+ const ball = new Circle(50, red).center().drag();
16236
+ ball.on("pressmove", ()=>{
16237
+ if (ball.hitTestCirclePoint(W/2, H/2)) {
16238
+ zog("hitting!");
16239
+ }
16240
+ });
16241
+
16242
+ PARAMETERS
16243
+ x - the global x for the point to test
16244
+ y - the global y for the point to test
16245
+ margin (default 0) pixels the bounds of the circle is increased or decreased to effect the hit
16246
+
16247
+ RETURNS a Boolean true if hitting, false if not
16248
+
16249
+
16250
+ ************************************
16251
+ [56298] obj.hitTestCircles(other, margin)
15930
16252
 
15931
16253
  hitTestCircles
15932
16254
  zim DisplayObject method
@@ -15955,7 +16277,7 @@ RETURNS a Boolean true if hitting, false if not
15955
16277
 
15956
16278
 
15957
16279
  ************************************
15958
- [55583] obj.hitTestBounds(other, margin, boundsShape)
16280
+ [56355] obj.hitTestBounds(other, margin, boundsShape)
15959
16281
 
15960
16282
  hitTestBounds
15961
16283
  zim DisplayObject method
@@ -15987,7 +16309,7 @@ MORE: http://zimjs.com/code/bits.html?title=hitTestBounds
15987
16309
 
15988
16310
 
15989
16311
  ************************************
15990
- [55643] obj.hitTestPath(other, num, showPoints, returnPoints)
16312
+ [56415] obj.hitTestPath(other, num, showPoints, returnPoints)
15991
16313
 
15992
16314
  hitTestPath
15993
16315
  zim DisplayObject method
@@ -16019,7 +16341,7 @@ RETURNS a Boolean true if hitting (or an array of {x,y} points if returnPoints i
16019
16341
 
16020
16342
 
16021
16343
  ************************************
16022
- [55725] obj.hitTestGrid(width, height, cols, rows, x, y, offsetX, offsetY, spacingX, spacingY, local, type)
16344
+ [56497] obj.hitTestGrid(width, height, cols, rows, x, y, offsetX, offsetY, spacingX, spacingY, local, type)
16023
16345
 
16024
16346
  hitTestGrid
16025
16347
  zim DisplayObject method
@@ -16059,7 +16381,7 @@ MORE: http://zimjs.com/code/bits.html?title=hitTestGrid
16059
16381
 
16060
16382
 
16061
16383
  ************************************
16062
- [55807] obj.animate(props, time, ease, call, params, wait, waitedCall, waitedParams, loop, loopCount, loopWait, loopCall, loopParams, loopWaitCall, loopWaitParams, loopPick, rewind, rewindWait, rewindCall, rewindParams, rewindWaitCall, rewindWaitParams, rewindTime, rewindEase, startCall, startParams, animateCall, animateParams, sequence, sequenceCall, sequenceParams, sequenceReverse, sequenceRatio, ticker, cjsProps, css, protect, override, from, set, id, events, sequenceTarget, dynamic, drag, clamp, startPaused, clean, obj, seriesWait, sequenceWait, rate, pauseOnBlur, easeAmount, easeFrequency, timeUnit, timeCheck, noAnimateCall, pathDamp)
16384
+ [56579] obj.animate(props, time, ease, call, params, wait, waitedCall, waitedParams, loop, loopCount, loopWait, loopCall, loopParams, loopWaitCall, loopWaitParams, loopPick, rewind, rewindWait, rewindCall, rewindParams, rewindWaitCall, rewindWaitParams, rewindTime, rewindEase, startCall, startParams, animateCall, animateParams, sequence, sequenceCall, sequenceParams, sequenceReverse, sequenceRatio, ticker, cjsProps, css, protect, override, from, set, id, events, sequenceTarget, dynamic, drag, clamp, startPaused, clean, obj, seriesWait, sequenceWait, rate, pauseOnBlur, easeAmount, easeFrequency, timeUnit, timeCheck, noAnimateCall, pathDamp)
16063
16385
 
16064
16386
  animate
16065
16387
  zim DisplayObject method
@@ -16633,7 +16955,7 @@ MORE: http://zimjs.com/code/bits.html?title=animate
16633
16955
 
16634
16956
 
16635
16957
  ************************************
16636
- [59218] obj.stopAnimate(ids, toEnd)
16958
+ [59990] obj.stopAnimate(ids, toEnd)
16637
16959
 
16638
16960
  stopAnimate
16639
16961
  zim function - and Display object function
@@ -16689,7 +17011,7 @@ MORE: http://zimjs.com/code/bits.html?title=stopAnimate
16689
17011
 
16690
17012
 
16691
17013
  ************************************
16692
- [59307] obj.pauseAnimate(state, ids)
17014
+ [60079] obj.pauseAnimate(state, ids)
16693
17015
 
16694
17016
  pauseAnimate
16695
17017
  zim function - and Display object function
@@ -16751,7 +17073,7 @@ RETURNS null if run as pauseAnimate() or the obj if run as obj.pauseAnimate()
16751
17073
 
16752
17074
 
16753
17075
  ************************************
16754
- [59405] obj.wiggle(property, baseAmount, minAmount, maxAmount, minTime, maxTime, totalTime, type, ease, integer, id, startType, ticker, wait, pauseOnBlur, endOnStart)
17076
+ [60177] obj.wiggle(property, baseAmount, minAmount, maxAmount, minTime, maxTime, totalTime, type, ease, integer, id, startType, ticker, wait, pauseOnBlur, endOnStart)
16755
17077
 
16756
17078
  wiggle
16757
17079
  zim DisplayObject method
@@ -16809,7 +17131,7 @@ RETURNS target for chaining
16809
17131
 
16810
17132
 
16811
17133
  ************************************
16812
- [59544] obj.loop(call, reverse, interval, step, start, end, immediate, complete, completeParams)
17134
+ [60316] obj.loop(call, reverse, interval, step, start, end, immediate, complete, completeParams)
16813
17135
 
16814
17136
  loop
16815
17137
  zim DisplayObject method
@@ -16898,7 +17220,7 @@ MORE: http://zimjs.com/code/bits.html?title=loop
16898
17220
 
16899
17221
 
16900
17222
  ************************************
16901
- [59861] obj.scaleTo(boundObj, percentX, percentY, type, boundsOnly, simple)
17223
+ [60633] obj.scaleTo(boundObj, percentX, percentY, type, boundsOnly, simple)
16902
17224
 
16903
17225
  scaleTo
16904
17226
  zim DisplayObject method
@@ -16940,7 +17262,7 @@ MORE: http://zimjs.com/code/bits.html?title=scaleTo
16940
17262
 
16941
17263
 
16942
17264
  ************************************
16943
- [59967] obj.fit(left, top, width, height, type)
17265
+ [60739] obj.fit(left, top, width, height, type)
16944
17266
 
16945
17267
  fit
16946
17268
  zim DisplayObject method
@@ -16968,7 +17290,7 @@ MORE: http://zimjs.com/code/bits.html?title=fit
16968
17290
 
16969
17291
 
16970
17292
  ************************************
16971
- [60069] obj.boundsToGlobal(rect, flip, inside, globalObj)
17293
+ [60841] obj.boundsToGlobal(rect, flip, inside, globalObj)
16972
17294
 
16973
17295
  boundsToGlobal
16974
17296
  zim DisplayObject method
@@ -16994,7 +17316,7 @@ RETURNS a createjs Rectangle of the bounds of object projected onto the stage
16994
17316
 
16995
17317
 
16996
17318
  ************************************
16997
- [60149] obj.resetBounds(width||boundsX, height||boundsY, null||width, null||height, margin)
17319
+ [60921] obj.resetBounds(width||boundsX, height||boundsY, null||width, null||height, margin)
16998
17320
 
16999
17321
  resetBounds
17000
17322
  zim DisplayObject method
@@ -17052,7 +17374,7 @@ RETURNS object for chaining
17052
17374
 
17053
17375
 
17054
17376
  ************************************
17055
- [60233] obj.copyMatrix(source)
17377
+ [61005] obj.copyMatrix(source)
17056
17378
 
17057
17379
  copyMatrix
17058
17380
  zim DisplayObject method
@@ -17075,7 +17397,7 @@ RETURNS obj for chaining
17075
17397
 
17076
17398
 
17077
17399
  ************************************
17078
- [60270] obj.duplicate(exact)
17400
+ [61042] obj.duplicate(exact)
17079
17401
 
17080
17402
  duplicate
17081
17403
  zim DisplayObject method
@@ -17093,7 +17415,7 @@ RETURNS cloned object with cloned custom properties
17093
17415
 
17094
17416
 
17095
17417
  ************************************
17096
- [60304] obj.expand(padding, paddingV, paddingRight, paddingBottom)
17418
+ [61076] obj.expand(padding, paddingV, paddingRight, paddingBottom)
17097
17419
 
17098
17420
  expand
17099
17421
  zim DisplayObject method
@@ -17127,7 +17449,7 @@ MORE: http://zimjs.com/code/bits.html?title=expand
17127
17449
 
17128
17450
 
17129
17451
  ************************************
17130
- [60362] obj.setSwipe(swipe)
17452
+ [61134] obj.setSwipe(swipe)
17131
17453
 
17132
17454
  setSwipe
17133
17455
  zim DisplayObject method
@@ -17146,7 +17468,7 @@ RETURNS obj for chaining
17146
17468
 
17147
17469
 
17148
17470
  ************************************
17149
- [60400] obj.setMask(mask, dynamic)
17471
+ [61172] obj.setMask(mask, dynamic)
17150
17472
 
17151
17473
  setMask
17152
17474
  zim DisplayObject method
@@ -17216,7 +17538,7 @@ MORE: http://zimjs.com/code/bits.html?title=setMask
17216
17538
 
17217
17539
 
17218
17540
  ************************************
17219
- [60529] obj.outline(color, size, boundsOnly)
17541
+ [61301] obj.outline(color, size, boundsOnly)
17220
17542
 
17221
17543
  outline
17222
17544
  zim DisplayObject method
@@ -17281,7 +17603,7 @@ MORE: http://zimjs.com/code/bits.html?title=outline
17281
17603
 
17282
17604
 
17283
17605
  ************************************
17284
- [60689] obj.blendmodes(time, basic)
17606
+ [61461] obj.blendmodes(time, basic)
17285
17607
 
17286
17608
  blendmodes
17287
17609
  zim DisplayObject method
@@ -17310,10 +17632,11 @@ MODULE 4: ZIM CONTROLS
17310
17632
  ------------------------------------
17311
17633
 
17312
17634
  ************************************
17313
- [60744] STYLE and Style()
17635
+ [61516] STYLE and Style()
17314
17636
 
17315
17637
  STYLE
17316
17638
  zim constant and static Class
17639
+ Also GLOBALSTYLE zim constant
17317
17640
 
17318
17641
  DESCRIPTION
17319
17642
  STYLE can be used to set any parameter on a DisplayObject and many of the Controls.
@@ -17333,7 +17656,14 @@ They are cascading with each level overriding the previous level:
17333
17656
  See: https://zimjs.com/style.html for an example
17334
17657
  And: https://zimjs.com/test/styles.html for Control Styles
17335
17658
 
17336
- NOTE: As of ZIM Cat, a Style class has been added with the static methods to manage styles
17659
+ NOTE: As of ZIM 018, GLOBALSTYLE has been added.
17660
+ GLOBALSTYLE can be used like STYLE and any styles in GLOBALSTYLE will be added to STYLE.
17661
+ GLOBALSTYLE is only active after it is set and it can be cleared with GLOBALSTYLE = {} or null.
17662
+ GLOBALSTYLE properties that are the same as STYLE properties will be overwritten by STYLE properties
17663
+ including all of type and group styles, ie. if both have Button styles only the STYLE Button styles will be applied.
17664
+ GLOBALSTYLE makes it easier to keep common styles across multiple specific STYLE changes.
17665
+
17666
+ NOTE: As of ZIM Cat, a Style class has been added with the static methods to manage styles.
17337
17667
  STYLE is an object so all of these are just a couple lines to make it easier to update the object.
17338
17668
  These include methods such as clear(), add(), remember(), addType(), addGroup(), etc.
17339
17669
  See the Style entry down below for a complete listing and description.
@@ -17444,6 +17774,24 @@ EXAMPLE
17444
17774
  STYLE = {color:red, wonder:{percent:50}};
17445
17775
  new Circle({style:false, group:"wonder"}).center();
17446
17776
 
17777
+ EXAMPLE
17778
+ GLOBALSTYLE = {font:"courier"};
17779
+ STYLE = {size:50}
17780
+ new Label("hello").center(); // courier and size 50
17781
+ STYLE = {size:20}
17782
+ new Label("goodbye").center().mov(0,50); // courier and size 20
17783
+ STYLE = {font:"lidia", size:30}
17784
+ new Label("ciao").center().mov(0,150); // lucidia and size 30
17785
+ STYLE = {size:20}
17786
+ new Label("bella").center().mov(0,180); // courier and size 20
17787
+ GLOBALSTYLE = null;
17788
+ new Label("greets").center().mov(0,-100); // default font size 20
17789
+ GLOBALSTYLE = {Button:{corner:0}}; // can reset a GLOBALSTYLE
17790
+ STYLE = {font:"courier"};
17791
+ new Button().pos(100,100,RIGHT,BOTTOM); // courier with 0 corner
17792
+ STYLE = {Button:{font:"courier"}}; // this will override all Button styles in GLOBALSTYLE
17793
+ new Button().pos(100,100,RIGHT,BOTTOM); // courier with default corner
17794
+
17447
17795
  EXAMPLE
17448
17796
  // Note: these commands are on the Style class not STYLE - but they operate on STYLE
17449
17797
  // Also remember that ZIM STYLE only gets applied to new objects
@@ -17512,7 +17860,7 @@ If it does not work, just turn the STYLE = {} or Style.clear() manually.
17512
17860
  FUNCTION STYLES
17513
17861
  The following functions have been added:
17514
17862
  addTo, loc, pos, center, centerReg, reg, transform, drag, gesture,
17515
- tap, change, hold, outline, bounds, mov, animate, wiggle, expand and cache
17863
+ tap, change, hold, outline, bounds, mov, animate, wiggle, expand, cache, and mouse
17516
17864
  Values of true will give default functionality for all but tap, change, mov, animate and wiggle
17517
17865
  ZIM DUO configuration objects can be set as a value for any of these
17518
17866
  example: drag:true; or drag:{onTop:false}
@@ -17520,6 +17868,7 @@ For animate and wiggle, [] can be put around multiple configuration objects
17520
17868
  to wiggle in the x and y for instance or run multiple animate calls on the object
17521
17869
  The tap, change and hold events are only what function to call - no extra parameters are available
17522
17870
  They can be turned off with noTap, noChange and noHold styles.
17871
+ Note: ZIM will run faster if non-interactive objects have their noMouse set.
17523
17872
 
17524
17873
  CONVENIENCE STYLES
17525
17874
  add:true - has been provided to add to the stage (use addTo for other containers)
@@ -17609,7 +17958,7 @@ Style.removeGroup(groupName) - removes a group as a string
17609
17958
 
17610
17959
 
17611
17960
  ************************************
17612
- [61403] PATH
17961
+ [62211] PATH
17613
17962
 
17614
17963
  PATH
17615
17964
  zim global variable
@@ -17651,7 +18000,7 @@ new Pic("new.png").center(); // will look in test/ directory
17651
18000
 
17652
18001
 
17653
18002
  ************************************
17654
- [61449] TIME
18003
+ [62257] TIME
17655
18004
 
17656
18005
  TIME
17657
18006
  zim global variable
@@ -17697,7 +18046,7 @@ new Circle().center().animate({
17697
18046
 
17698
18047
 
17699
18048
  ************************************
17700
- [61498] TIMECHECK
18049
+ [62306] TIMECHECK
17701
18050
 
17702
18051
  TIMECHECK
17703
18052
  zim global variable
@@ -17723,7 +18072,7 @@ new Circle().center().wiggle("x", 100,200, 2000, 4000); // will give warning in
17723
18072
 
17724
18073
 
17725
18074
  ************************************
17726
- [61527] DIR
18075
+ [62335] DIR
17727
18076
 
17728
18077
  DIR
17729
18078
  zim global variable
@@ -17755,7 +18104,7 @@ new Label({
17755
18104
 
17756
18105
 
17757
18106
  ************************************
17758
- [61563] SEEDRAND
18107
+ [62371] SEEDRAND
17759
18108
 
17760
18109
  SEEDRAND
17761
18110
  zim global variable
@@ -17799,7 +18148,7 @@ new Circle(100, [red, green, blue]).center().mov(0,300);
17799
18148
 
17800
18149
 
17801
18150
  ************************************
17802
- [61611] SEEDRANDCOUNT
18151
+ [62419] SEEDRANDCOUNT
17803
18152
 
17804
18153
  SEEDRANDCOUNT
17805
18154
  zim global variable
@@ -17842,7 +18191,7 @@ zog(rand(100)); // a new random number but at index 2 as SEEDRANDCOUNT does NOT
17842
18191
 
17843
18192
 
17844
18193
  ************************************
17845
- [61657] ANIMATE
18194
+ [62465] ANIMATE
17846
18195
 
17847
18196
  ANIMATE
17848
18197
  zim global variable
@@ -17880,7 +18229,7 @@ circle2.animate({props:{alpha:0, scale:0}, time:.7, wait:.7, from:true});
17880
18229
 
17881
18230
 
17882
18231
  ************************************
17883
- [61698] OPTIMIZE
18232
+ [62506] OPTIMIZE
17884
18233
 
17885
18234
  OPTIMIZE
17886
18235
  zim global variable
@@ -17923,7 +18272,7 @@ See zim.Ticker as you may have to set Ticker.update = true;
17923
18272
 
17924
18273
 
17925
18274
  ************************************
17926
- [61744] ACTIONEVENT
18275
+ [62552] ACTIONEVENT
17927
18276
 
17928
18277
  ACTIONEVENT
17929
18278
  zim global variable
@@ -17947,7 +18296,7 @@ new CheckBox().center();
17947
18296
 
17948
18297
 
17949
18298
  ************************************
17950
- [61771] DEFAULTWIRE
18299
+ [62579] DEFAULTWIRE
17951
18300
 
17952
18301
  DEFAULTWIRE
17953
18302
  zim global variable
@@ -17972,7 +18321,7 @@ new ColorPicker().center().wire(selector, "index");
17972
18321
 
17973
18322
 
17974
18323
  ************************************
17975
- [61799] KEYFOCUS
18324
+ [62607] KEYFOCUS
17976
18325
 
17977
18326
  KEYFOCUS
17978
18327
  zim global variable
@@ -18003,7 +18352,7 @@ const stepper = new Stepper().center().mov(0, 100);
18003
18352
 
18004
18353
 
18005
18354
  ************************************
18006
- [61833] POSREG
18355
+ [62641] POSREG
18007
18356
 
18008
18357
  POSREG
18009
18358
  zim global variable
@@ -18025,7 +18374,7 @@ new Rectangle().pos({x:10, right:true}); // will position registration point 10
18025
18374
 
18026
18375
 
18027
18376
  ************************************
18028
- [61858] DRAGALL
18377
+ [62666] DRAGALL
18029
18378
 
18030
18379
  DRAGALL
18031
18380
  zim global variable
@@ -18048,7 +18397,7 @@ containerOfMonsters.drag(); // will drag all the monsters at once
18048
18397
 
18049
18398
 
18050
18399
  ************************************
18051
- [61884] MOBILE
18400
+ [62692] MOBILE
18052
18401
 
18053
18402
  MOBILE
18054
18403
  zim global variable
@@ -18115,7 +18464,7 @@ MOBILE = "default";
18115
18464
 
18116
18465
 
18117
18466
  ************************************
18118
- [61954] Ticker = {}
18467
+ [62762] Ticker = {}
18119
18468
 
18120
18469
  Ticker
18121
18470
  zim static class
@@ -18206,7 +18555,7 @@ then set OPTIMIZE = false and then set Ticker.update = false
18206
18555
 
18207
18556
 
18208
18557
  ************************************
18209
- [62291] Pages(pages, transition, speed, transitionTable, holder, arrowDisableColor, continuous, style, group, inherit)
18558
+ [63099] Pages(pages, transition, speed, transitionTable, holder, arrowDisableColor, continuous, style, group, inherit)
18210
18559
 
18211
18560
  Pages
18212
18561
  zim class - extends a zim.Container which extends a createjs.Container
@@ -18436,7 +18785,7 @@ MORE: http://zimjs.com/code/bits.html?title=Pages
18436
18785
 
18437
18786
 
18438
18787
  ************************************
18439
- [63125] Arrow(backgroundColor, rollBackgroundColor, pages, direction, type, newPage, trans, speed, style, group, inherit)
18788
+ [63933] Arrow(backgroundColor, rollBackgroundColor, pages, direction, type, newPage, trans, speed, style, group, inherit)
18440
18789
 
18441
18790
  Arrow
18442
18791
  zim class - extends a zim.Button which extends a zim.Container which extends a createjs.Container
@@ -18534,7 +18883,7 @@ Additional "mousedown", "click" or other button events can be added if desired
18534
18883
 
18535
18884
 
18536
18885
  ************************************
18537
- [63353] HotSpot(obj, x, y, width, height, call, callOver, callOut, local, talk)
18886
+ [64161] HotSpot(obj, x, y, width, height, call, callOver, callOut, local, talk)
18538
18887
 
18539
18888
  HotSpot
18540
18889
  zim class - extends a zim.Container which extends a createjs.Container
@@ -18580,7 +18929,7 @@ The default is "mousedown" - if set to something else the component will act on
18580
18929
 
18581
18930
 
18582
18931
  ************************************
18583
- [63471] HotSpots(spots, local, mouseDowns)
18932
+ [64279] HotSpots(spots, local, mouseDowns)
18584
18933
 
18585
18934
  HotSpots
18586
18935
  zim class - extends a zim.Container which extends a createjs.Container
@@ -18652,7 +19001,7 @@ the class creates HotSpot objects - see the class underneath this one
18652
19001
 
18653
19002
 
18654
19003
  ************************************
18655
- [63678] Guide(obj, vertical, pixels, hideKey, pixelKey, style, group, inherit)
19004
+ [64486] Guide(obj, vertical, pixels, hideKey, pixelKey, style, group, inherit)
18656
19005
 
18657
19006
  Guide Class
18658
19007
  extends a zim.Container which extends a createjs.Container
@@ -18711,7 +19060,7 @@ pixels - boolean - set to true to change to pixels, false to go to percent
18711
19060
 
18712
19061
 
18713
19062
  ************************************
18714
- [64000] Grid(obj, color, pixels, hideKey, pixelKey, allowToggle, cache, numbers, style, group, inherit)
19063
+ [64808] Grid(obj, color, pixels, hideKey, pixelKey, allowToggle, cache, numbers, style, group, inherit)
18715
19064
 
18716
19065
  Grid
18717
19066
  zim class - extends a zim.Container which extends a createjs.Container
@@ -18771,7 +19120,7 @@ MORE: http://zimjs.com/code/bits.html?title=Grid
18771
19120
 
18772
19121
 
18773
19122
  ************************************
18774
- [64361] Wrapper(items, width, spacingH, spacingV, wrapperType, align, valign, alignInner, valignInner, flip, reverse, bottomFull, colSize, rowSize, height, minSpreadNum, minStretchNum, percentVoidH, offsetVoidH, percentVoidV, offsetVoidV, minStretchFirst, style, group, inherit)
19123
+ [65169] Wrapper(items, width, spacingH, spacingV, wrapperType, align, valign, alignInner, valignInner, flip, reverse, bottomFull, colSize, rowSize, height, minSpreadNum, minStretchNum, percentVoidH, offsetVoidH, percentVoidV, offsetVoidV, minStretchFirst, style, group, inherit)
18775
19124
 
18776
19125
  Wrapper
18777
19126
  zim class - extends a zim.Container which extends a createjs.Container
@@ -18975,7 +19324,7 @@ alpha, cursor, shadow, name, mouseChildren, mouseEnabled, parent, numChildren, e
18975
19324
 
18976
19325
 
18977
19326
  ************************************
18978
- [65265] Tile(obj, cols, rows, spacingH, spacingV, unique, width, height, squeezeH, squeezeV, colSize, rowSize, align, valign, count, mirrorH, mirrorV, snapToPixel, clone, events, exact, scaleToH, scaleToV, scaleToType, backgroundColor, backgroundPadding, backgroundPaddingH, backgroundPaddingV, backing, backdropColor, backdropPadding, backdropPaddingH, backdropPaddingV, mat, style, group, inherit)
19327
+ [66073] Tile(obj, cols, rows, spacingH, spacingV, unique, width, height, squeezeH, squeezeV, colSize, rowSize, align, valign, count, mirrorH, mirrorV, snapToPixel, clone, events, exact, scaleToH, scaleToV, scaleToType, backgroundColor, backgroundPadding, backgroundPaddingH, backgroundPaddingV, backing, backdropColor, backdropPadding, backdropPaddingH, backdropPaddingV, mat, style, group, inherit)
18979
19328
 
18980
19329
  Tile
18981
19330
  zim class - extends a zim.Container which extends a createjs.Container
@@ -19098,8 +19447,8 @@ obj - |ZIM VEE| (default new Circle()) the display object to tile
19098
19447
  If the obj is a ZIM VEE function (not array, object literal or series) then the Tile clone parameter will default to false
19099
19448
  cols - (default 1 - if no cols and rows then 3) the columns to tile
19100
19449
  rows - (default 1 - if no cols and rows then 3) the rows to tile
19101
- spacingH - (default 0 - if no cols and rows then 3) a spacing between columns - ignored if colSize is set
19102
- spacingV - (default 0 - if no cols and rows then 3) a spacing between rows - ignored if rowSize is set
19450
+ spacingH - |ZIM VEE| (default 0 - if no cols and rows then 3) a spacing between columns - ignored if colSize is set
19451
+ spacingV - |ZIM VEE| (default 0 - if no cols and rows then 3) a spacing between rows - ignored if rowSize is set
19103
19452
  unique - (default false) - set to true if tiling unique items like components with events set or objects with custom properties
19104
19453
  1. this will turn off ZIM VEE for the obj parameter which will accept an array of unique objects
19105
19454
  2. the count parameter will be set to the length of the array
@@ -19187,6 +19536,10 @@ itemUnderPoint(x, y, ignoreSpacing) - gets the item under a global point - (with
19187
19536
  setProps(properties) - sets provided properties (as {prop:val, prop:val}) for each item
19188
19537
  the values accept ZIM VEE - dynamic parameters - see ZIM Pick()
19189
19538
  returns object for chaining
19539
+ setSpacing(h,v) - set arrays of horizontal and vertical spacing
19540
+ ZIM Tile() makes spacing arrays for horizontal and vertical spacing based on ZIM VEE calculations from the spacingH and spacingV parameters
19541
+ to change spacing afterwards, new arrays can be provided to setSpacing()
19542
+ the arrays must have col-1 and row-1 items - although h or v can be left null or undefined to keep existing spacing
19190
19543
  remake(items) - pass in an array of items to tile - see items property for editing current list - returns tile for chaining
19191
19544
  can also change rows and cols and remake()
19192
19545
  resize(width, height) - resize the tile with new width and/or height if the width and/or height parameters were set - returns tile for chaining
@@ -19229,14 +19582,13 @@ These properties can be changed by calling remake()
19229
19582
  cols - number of columns - can modify - need to call remake() to see changes
19230
19583
  rows - number of rows - can modify - need to call remake() to see changes
19231
19584
  These properties can be changed by calling resize(width, height) - set width or height to 0 for no spreading
19232
- spacingH - horizontal spacing - can modify - need to call resize() to see changes
19233
- spacingV - vertical spacing - can modify - need to call resize() to see changes
19234
19585
  squeezeH - horizontal compression - can modify - need to call resize() to see changes
19235
19586
  squeezeV - vertical compression - can modify - need to call resize() to see changes
19236
19587
  align - (not with ZIM VEE) horizontal alignment - can modify - need to call resize() to see changes
19237
19588
  valign - (not with ZIM VEE) vertical alignment - can modify - need to call resize() to see changes
19238
19589
  mirrorH - horizontal mirroring - can modify - need to call resize() to see changes
19239
19590
  mirrorV - vertical mirroring - can modify - need to call resize() to see changes
19591
+ NOTE: spacingV and spacingH can be adjusted with setSpacing() method
19240
19592
 
19241
19593
  ALSO: see ZIM Container for properties such as:
19242
19594
  width, height, widthOnly, heightOnly, draggable, level, depth, group
@@ -19255,7 +19607,7 @@ note: the item is not the event object target - as that is the tile
19255
19607
 
19256
19608
 
19257
19609
  ************************************
19258
- [66304] Pack(width, height, items, spacingH, spacingV, flatten, direction, lock, backgroundColor, align, valign, lastAlign, paddingH, paddingV, dragOrder, dragColor, dragThickness, dragDashed, reverse, funnel, showPacking, order, container, style, group, inherit)
19610
+ [67162] Pack(width, height, items, spacingH, spacingV, flatten, direction, lock, backgroundColor, align, valign, lastAlign, paddingH, paddingV, dragOrder, dragColor, dragThickness, dragDashed, reverse, funnel, showPacking, order, container, style, group, inherit)
19259
19611
 
19260
19612
  Pack
19261
19613
  zim class - extends a zim.Container which extends a createjs.Container
@@ -19398,7 +19750,7 @@ dispatches a change event if items are re-ordered
19398
19750
 
19399
19751
 
19400
19752
  ************************************
19401
- [67156] Beads(path, obj, count, angle, startPercent, endPercent, percents, onTop, showControls, visible, interactive, clone, group, style, inherit)
19753
+ [68014] Beads(path, obj, count, angle, startPercent, endPercent, percents, onTop, showControls, visible, interactive, clone, group, style, inherit)
19402
19754
 
19403
19755
  Beads
19404
19756
  zim class - extends a zim.Container which extends a createjs.Container
@@ -19513,7 +19865,7 @@ alpha, cursor, shadow, name, mouseChildren, mouseEnabled, parent, numChildren, e
19513
19865
 
19514
19866
 
19515
19867
  ************************************
19516
- [67388] Layout(holder, regions, lastMargin, lastMarginMin, backgroundColor, vertical, showRegions, scalingObject, hideKey, style, group, inherit)
19868
+ [68246] Layout(holder, regions, lastMargin, lastMarginMin, backgroundColor, vertical, showRegions, scalingObject, hideKey, style, group, inherit)
19517
19869
 
19518
19870
  Layout
19519
19871
  zim class - extends a createjs.EventDispatcher
@@ -19639,7 +19991,7 @@ MORE: http://zimjs.com/code/bits.html?title=Layout
19639
19991
 
19640
19992
 
19641
19993
  ************************************
19642
- [68030] Accessibility(appName, tabOrder, tabIndex, cycle, decimals, frame, application, alwaysHighlight, AHTime, AHColor, AHBorderWidth, AHBorderPadding, AHAlpha, AHObject, AHObjectScale)
19994
+ [68888] Accessibility(appName, tabOrder, tabIndex, cycle, decimals, frame, application, alwaysHighlight, AHTime, AHColor, AHBorderWidth, AHBorderPadding, AHAlpha, AHObject, AHObjectScale)
19643
19995
 
19644
19996
  Accessibility
19645
19997
  zim class - extends a createjs.EventDispatcher
@@ -19781,7 +20133,7 @@ The Enter key dispatches mousedown and click events from object with focus
19781
20133
 
19782
20134
 
19783
20135
  ************************************
19784
- [69113] TextureActive(width, height, color, color2, angle, borderColor, borderWidth, corner, interactive, animated, backingOrbit, pattern, scalePattern, style, group, inherit)
20136
+ [69971] TextureActive(width, height, color, color2, angle, borderColor, borderWidth, corner, interactive, animated, backingOrbit, pattern, scalePattern, style, group, inherit)
19785
20137
 
19786
20138
  TextureActive
19787
20139
  zim class extends a zim Page which extends a ZIM Container which extends a createjs Container
@@ -19977,7 +20329,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
19977
20329
 
19978
20330
 
19979
20331
  ************************************
19980
- [69398] TextureActives(actives, threejs, zimThree, renderer, scene, camera, controls, layers, near, far, ignoreList, toggleKey, color, outerColor, damp, style, group, inherit)
20332
+ [70253] TextureActives(actives, threejs, zimThree, renderer, scene, camera, controls, layers, near, far, ignoreList, toggleKey, color, outerColor, damp, style, group, inherit)
19981
20333
 
19982
20334
  TextureActives
19983
20335
  zim class extends a createjs EventDispatcher
@@ -20178,7 +20530,7 @@ rayout - dispatched when mouse is moves out from a ZIM TextureActive material
20178
20530
 
20179
20531
 
20180
20532
  ************************************
20181
- [70151] TextureActivesManager(stage, toggleKey, damp)
20533
+ [71006] TextureActivesManager(stage, toggleKey, damp)
20182
20534
 
20183
20535
  TextureActivesManager
20184
20536
  zim class extends a createjs EventDispatcher
@@ -20226,7 +20578,7 @@ swiper - access to the ZIM Swiper for swiping the panel - note, only works outsi
20226
20578
 
20227
20579
 
20228
20580
  ************************************
20229
- [70431] Manager()
20581
+ [71287] Manager()
20230
20582
 
20231
20583
  DEPRECATED - as of ZIM ZIM 02, a GlobalManager is added to handle any resizing
20232
20584
 
@@ -20249,7 +20601,7 @@ dispose(obj) - disposes objects in the manager
20249
20601
 
20250
20602
 
20251
20603
  ************************************
20252
- [70534] ResizeManager()
20604
+ [71390] ResizeManager()
20253
20605
 
20254
20606
  DEPRECATED - as of ZIM ZIM 02, a GlobalManager is added to handle any resizing
20255
20607
 
@@ -20286,7 +20638,7 @@ items - get or set an array of objects currently in the Manager
20286
20638
 
20287
20639
 
20288
20640
  ************************************
20289
- [70579] TransformManager(objects, persistID)
20641
+ [71435] TransformManager(objects, persistID)
20290
20642
 
20291
20643
  TransformManager
20292
20644
  zim class extends CreateJS EventDispatcher
@@ -20359,7 +20711,7 @@ Dispatches a "persistcomplete" event when all persist data has been set + 100ms
20359
20711
 
20360
20712
 
20361
20713
  ************************************
20362
- [71033] GuideManager()
20714
+ [71889] GuideManager()
20363
20715
 
20364
20716
  DEPRECATED - as of ZIM ZIM 02, a GlobalManager is added to handle any resizing
20365
20717
 
@@ -20409,7 +20761,7 @@ disposing will remove the G, P key listener and the guide
20409
20761
 
20410
20762
 
20411
20763
  ************************************
20412
- [71091] GridManager()
20764
+ [71947] GridManager()
20413
20765
 
20414
20766
  DEPRECATED - as of ZIM ZIM 02, a GlobalManager is added to handle any resizing
20415
20767
 
@@ -20454,7 +20806,7 @@ items - an array of all Grid objects added with add()
20454
20806
 
20455
20807
 
20456
20808
  ************************************
20457
- [71144] LayoutManager()
20809
+ [72000] LayoutManager()
20458
20810
 
20459
20811
  DEPRECATED - as of ZIM ZIM 02, a GlobalManager is added to handle any resizing
20460
20812
 
@@ -20517,7 +20869,7 @@ items - an array of all Layout objects added with add()
20517
20869
 
20518
20870
 
20519
20871
  ************************************
20520
- [71266] SelectionSet(selections)
20872
+ [72122] SelectionSet(selections)
20521
20873
 
20522
20874
  SelectionSet
20523
20875
  zim class
@@ -20569,7 +20921,7 @@ items - an array of all Layout objects added with add()
20569
20921
 
20570
20922
 
20571
20923
  ************************************
20572
- [71396] SelectionManager(sets, multipleKey, multipleSets)
20924
+ [72252] SelectionManager(sets, multipleKey, multipleSets)
20573
20925
 
20574
20926
  SelectionManager
20575
20927
  zim class extends a CreateJS EventDispatcher
@@ -20635,7 +20987,7 @@ dispatches an "undo" event if a CTRL or META plus the U key is pressed
20635
20987
 
20636
20988
 
20637
20989
  ************************************
20638
- [71524] Bind(connection, bindType, master, masterFilter, couple, smartDecimals, report, setDefault)
20990
+ [72382] Bind(connection, bindType, master, masterFilter, couple, smartDecimals, report, setDefault)
20639
20991
 
20640
20992
  Bind
20641
20993
  zim class
@@ -21036,7 +21388,7 @@ fromIDs - an object of from() properties in the form {prop1:[id1, id2], prop2:[i
21036
21388
 
21037
21389
 
21038
21390
  ************************************
21039
- [72523] Swipe(obj, distance, duration, isometric, overrideNoSwipe)
21391
+ [73381] Swipe(obj, distance, duration, isometric, overrideNoSwipe)
21040
21392
 
21041
21393
  Swipe
21042
21394
  zim class - extends a createjs.EventDispatcher
@@ -21117,7 +21469,7 @@ MORE: http://zimjs.com/code/bits.html?title=Swipe
21117
21469
 
21118
21470
 
21119
21471
  ************************************
21120
- [72706] Swiper(swipeOn, target, property, sensitivity, swiperType, min, max, damp, integer, factor, loop, pauseTime, otherSwiper)
21472
+ [73564] Swiper(swipeOn, target, property, sensitivity, swiperType, min, max, damp, integer, factor, loop, pauseTime, otherSwiper)
21121
21473
 
21122
21474
  Swiper
21123
21475
  zim class - extends a createjs EventDispatcher
@@ -21195,7 +21547,7 @@ dispatches a "swipestop" event when swipeup has happened and value has stopped c
21195
21547
 
21196
21548
 
21197
21549
  ************************************
21198
- [73027] MotionController(target, type, speed, axis, boundary, map, diagonal, damp, flip, orient, constant, firstPerson, turnSpeed, moveThreshold, stickThreshold, container, localBoundary, mouseMoveOutside, mousedownIncludes, minPercentSpeed, maxPercentSpeed, dampKeyup, rotate, mouseOutside)
21550
+ [73885] MotionController(target, type, speed, axis, boundary, map, diagonal, damp, flip, orient, constant, firstPerson, turnSpeed, moveThreshold, stickThreshold, container, localBoundary, mouseMoveOutside, mousedownIncludes, minPercentSpeed, maxPercentSpeed, dampKeyup, rotate, mouseOutside, tileObj)
21199
21551
 
21200
21552
  MotionController
21201
21553
  zim class - extends a createjs EventDispatcher
@@ -21207,6 +21559,7 @@ For instance, you can control a player in a game or a butterfly in field
21207
21559
  SEE: https://zimjs.com/controller for more examples
21208
21560
  SEE: https://zimjs.com/explore/sidescroller.html for keyboard work with Scroller, Sprite, Dynamo, Accelerator
21209
21561
  SEE: https://zimjs.com/pen or https://zimjs.com/genpen (complex example)
21562
+ SEE: https://zimjs.com/018/tileObj.html for moving on tile squares
21210
21563
 
21211
21564
  NOTE: as of ZIM 5.5.0 the zim namespace is no longer required (unless zns is set to true before running zim)
21212
21565
 
@@ -21314,7 +21667,7 @@ firstPerson - (default false) set to true for keydown, gamebutton and gamecontro
21314
21667
  speed will be damped by damp parameter - also, map parameter changes if in firstPerson mode - see map parameter
21315
21668
  turnSpeed - (default speed*.4) - the speed for turning in firstPerson mode - will be damped but damp parameter
21316
21669
  moveThreshold - (default 5) pixels negative or positive to treat damped motion as stopped
21317
- stickThreshold - (default .2) gamepad stick axes values are from -1 to 1 but there is a lot of noise
21670
+ stickThreshold - (default .2, default .8 with tileObj) gamepad stick axes values are from -1 to 1 but there is a lot of noise
21318
21671
  so consider within +- stickThreshold as no motion 0
21319
21672
  container - (default zimDefaultFrame stage) the Container the target is in - the stage is most likely fine
21320
21673
  if container is specified, it must be on the stage when the MotionController is made
@@ -21334,6 +21687,31 @@ minPercentSpeed - (default 100) if target is an Accelerator, the percentSpeed at
21334
21687
  dampKeyup - (default .3) damping applied to slow down Accelerator with keydown
21335
21688
  rotate - (depreciated) the same as orient - kept for backwards compatibility as of ZIM Cat 01
21336
21689
  mouseOutside - (default false) if a container or boundary is provided, set to true to start motion if pressing outside container or boundary
21690
+ tileObj - (default null) an object to direct the target to move on a theoretical board with tiles
21691
+ works with type keydown, dPad, gamebutton and gamestick - for press tile movement see ZIM GameBoard and EasyStar path finding
21692
+ note: the target must be initially placed properly on a tile to start
21693
+ and if this is not the 0,0 tile then set the startCol and startRow properties
21694
+ moves are then calculated based on original target position, the w, h, spacingH and spacingV
21695
+ tileObj properties are as follows:
21696
+ time (default .2, or .3 for type gamestick, or .4 for dPad) - the time between moves or to animate to next move
21697
+ animate (default true) - set to false to not animate the target to the new tile
21698
+ cols (default 5) - the number of columns of the tile (not used if there is a moves property)
21699
+ rows (default 5) - the number of rows of the tile (not used if there is a moves property)
21700
+ w (default 50) - the width of a tile (not the whole board but just a tile and not including spacing)
21701
+ h (default 50) - the height of a tile (not the whole board but just a tile and not including spacing)
21702
+ spacingH (default 3) - the spacing horizontal between each tile
21703
+ spacingV (default 3) - the spacing vertical between each tile
21704
+ startCol (default 0) - the column index on which the target starts (must still place target at the right location)
21705
+ startRow (default 0) - the row index on which the target starts (must still place target at the right location)
21706
+ moves (default null) - set to an array of rows each with array of columns
21707
+ for allowed moves use 1 and for not-allowed moves use 0
21708
+ to move anywhere on 5x3 grid except the corners and the middle
21709
+ moves:[
21710
+ [0,1,1,1,0],
21711
+ [1,1,0,1,1],
21712
+ [0,1,1,1,0]
21713
+ ]
21714
+ note: this will override the cols and rows values
21337
21715
 
21338
21716
  METHODS
21339
21717
  pause(state, time) - state defaults to true and pauses the motionController (sets speed to 0)
@@ -21370,6 +21748,8 @@ moveThreshold - the maximum value (+-) within which movement is considered stopp
21370
21748
  stickThreshold - the maximum value (+-) within which the gamepad stick axes values are considered 0
21371
21749
  mousedownIncludes - an array of objects that the mousedown will work on - along with the stage
21372
21750
  note: if manually setting this and there is a boundary then add the boundary to the mousedownIncludes as well
21751
+ moveGrid - get or set the moves of a provided tileObj - see the tileObj parameter
21752
+ note: this will not reposition the target if changed
21373
21753
  enabled - set to false to disable or true to enable MotionController - can toggle with enabled = !enabled
21374
21754
 
21375
21755
  ALSO: adds a motionController property to target referencing the MotionController object
@@ -21383,7 +21763,7 @@ dispatches a "moving" event if target is moving and "startmoving" and "stopmovin
21383
21763
 
21384
21764
 
21385
21765
  ************************************
21386
- [73980] GamePad()
21766
+ [75022] GamePad()
21387
21767
 
21388
21768
  GamePad
21389
21769
  zim class - extends a createjs EventDispatcher
@@ -21464,7 +21844,7 @@ dispatches a "data" event with axes and buttons array properties
21464
21844
 
21465
21845
 
21466
21846
  ************************************
21467
- [74147] Portal(obj, lands)
21847
+ [75189] Portal(obj, lands)
21468
21848
 
21469
21849
  Portal
21470
21850
  zim class - extends a CreateJS EventDispatcher
@@ -21538,7 +21918,7 @@ dispatches an enter event on mouseover of the portal and an exit event on mouseo
21538
21918
 
21539
21919
 
21540
21920
  ************************************
21541
- [74306] Physics(gravity, borders, scroll, frame)
21921
+ [75348] Physics(gravity, borders, scroll, frame)
21542
21922
 
21543
21923
  Physics
21544
21924
  zim module
@@ -21668,6 +22048,22 @@ function ready() {
21668
22048
  new Circle(50,black).pos(0,100,CENTER).addPhysics();
21669
22049
  }
21670
22050
 
22051
+ EXAMPLE
22052
+ new Physics();
22053
+ const circle = new Circle(20,red)
22054
+ .center()
22055
+ .wiggle("x", null, 100,200,1,2)
22056
+ .wiggle("y", null, 100,200,1,2); // note - no physics
22057
+ const ring = new Circle(100,clear,purple,2)
22058
+ .center()
22059
+ .addPhysics()
22060
+ .puppet(circle); // ring will follow circle
22061
+ new Rectangle(100,100,purple)
22062
+ .reg(CENTER)
22063
+ .center()
22064
+ .mov(50,50)
22065
+ .addPhysics(false); // static
22066
+
21671
22067
  PARAMETERS - FOR PHYSICS
21672
22068
  ** supports DUO - parameters or single object with properties below
21673
22069
  gravity - (default 10) the gravity force in the downward direction
@@ -21885,12 +22281,20 @@ contactEnd(call) - run the call function when object's body ends contacts with a
21885
22281
  Also see sensor parameter to trigger contact but with no physics interaction
21886
22282
  noContact() - remove contact call
21887
22283
  noContactEnd() - remove contactEnd call
22284
+ puppet(o) - make object go to the x and y of the object passed into to the o parameter.
22285
+ this will make the equivilant of a mouseJoin so physics is not broken
22286
+ so that physics objects can be joined to ZIM objects
22287
+ and controlled with animate(), wiggle(), zim drag(), gesture(), transform(), etc.
22288
+ note: it is the x and y property only, not rotation or scale.
22289
+ see https://zimjs.com/018/puppet.html
22290
+ puppetEnd() - stop the object from being a puppet
21888
22291
 
21889
22292
  PROPERTIES - FOR OBJECTS - see also BODY PROPERTIES below
21890
22293
  dynamic - set to true for dynamic and false for static
21891
22294
  there is also kinematic that can be set using the obj.body.SetType(1)
21892
22295
  speed - get or set the speed of an object that is controlled by control()
21893
22296
  speedY - get or set the speedY of an object that is controlled by control()
22297
+ puppetJoint - get the puppetJoint if puppet is set - will be null if puppet is not set
21894
22298
  ** normal x, y, rotation or pos(), loc(), rot() will not work with physics!
21895
22299
  ** see the BODY loc(x,y) METHOD and the rotation PROPERTY below
21896
22300
  ** these should really not be set at all in the physics world
@@ -21951,7 +22355,7 @@ b2ContactListener = Box2D.Dynamics.b2ContactListener;
21951
22355
 
21952
22356
 
21953
22357
  ************************************
21954
- [74885] TimeLine(objects, width, startPaused, barColor, buttonColor, themeColor, corner, ticks, damp, loop, noLoop, call, style, group, inherit)
22358
+ [75974] TimeLine(objects, width, startPaused, barColor, buttonColor, themeColor, corner, ticks, damp, loop, noLoop, call, style, group, inherit)
21955
22359
 
21956
22360
  TimeLine
21957
22361
  zim class extends zim Container which extends a createjs Container
@@ -22033,7 +22437,7 @@ themeColor - get the current theme color
22033
22437
 
22034
22438
 
22035
22439
  ************************************
22036
- [75314] BlurEffect(blurX, blurY, quality, style, group, inherit)
22440
+ [76403] BlurEffect(blurX, blurY, quality, style, group, inherit)
22037
22441
 
22038
22442
  BlurEffect
22039
22443
  zim class extends createjs BlurFilter
@@ -22118,7 +22522,7 @@ veeObj - an object with ZIM VEE original parameters:value allowing the ZIM VEE v
22118
22522
 
22119
22523
 
22120
22524
  ************************************
22121
- [75435] GlowEffect(color, alpha, blurX, blurY, strength, quality, inner, knockout, hideObject, style, group, inherit)
22525
+ [76524] GlowEffect(color, alpha, blurX, blurY, strength, quality, inner, knockout, hideObject, style, group, inherit)
22122
22526
 
22123
22527
  GlowEffect
22124
22528
  zim class extends createjs BlurFilter
@@ -22216,7 +22620,7 @@ veeObj - an object with ZIM VEE original parameters:value allowing the ZIM VEE v
22216
22620
 
22217
22621
 
22218
22622
  ************************************
22219
- [75678] ShadowEffect(distance, angle, color, alpha, blurX, blurY, strength, quality, inner, knockout, hideObject, style, group, inherit)
22623
+ [76767] ShadowEffect(distance, angle, color, alpha, blurX, blurY, strength, quality, inner, knockout, hideObject, style, group, inherit)
22220
22624
 
22221
22625
  ShadowEffect
22222
22626
  zim class extends createjs BlurFilter
@@ -22318,7 +22722,7 @@ veeObj - an object with ZIM VEE original parameters:value allowing the ZIM VEE v
22318
22722
 
22319
22723
 
22320
22724
  ************************************
22321
- [75990] ThresholdEffect(redValue, greenValue, blueValue, passColor, failColor, style, group, inherit)
22725
+ [77079] ThresholdEffect(redValue, greenValue, blueValue, passColor, failColor, style, group, inherit)
22322
22726
 
22323
22727
  ThresholdEffect
22324
22728
  zim class extends createjs Filter
@@ -22385,7 +22789,7 @@ veeObj - an object with ZIM VEE original parameters:value allowing the ZIM VEE v
22385
22789
 
22386
22790
 
22387
22791
  ************************************
22388
- [76160] ColorEffect(redMultiplier, greenMultiplier, blueMultiplier, alphaMultiplier, redOffset, greenOffset, blueOffset, alphaOffset, style, group, inherit)
22792
+ [77249] ColorEffect(redMultiplier, greenMultiplier, blueMultiplier, alphaMultiplier, redOffset, greenOffset, blueOffset, alphaOffset, style, group, inherit)
22389
22793
 
22390
22794
  ColorEffect
22391
22795
  zim class extends createjs ColorFilter
@@ -22477,7 +22881,7 @@ veeObj - an object with ZIM VEE original parameters:value allowing the ZIM VEE v
22477
22881
 
22478
22882
 
22479
22883
  ************************************
22480
- [76303] MultiEffect(hue, saturation, brightness, contrast, style, group, inherit)
22884
+ [77392] MultiEffect(hue, saturation, brightness, contrast, style, group, inherit)
22481
22885
 
22482
22886
  MultiEffect
22483
22887
  zim class extends createjs ColorMatrixFilter
@@ -22555,7 +22959,7 @@ veeObj - an object with ZIM VEE original parameters:value allowing the ZIM VEE v
22555
22959
 
22556
22960
 
22557
22961
  ************************************
22558
- [76465] AlphaEffect(mask, style, group, inherit)
22962
+ [77554] AlphaEffect(mask, style, group, inherit)
22559
22963
 
22560
22964
  AlphaEffect
22561
22965
  zim class extends createjs AlphaMaskFilter
@@ -22664,7 +23068,7 @@ ALSO See the CreateJS Easel Docs for Filter methods, such as: getBounds()
22664
23068
 
22665
23069
 
22666
23070
  ************************************
22667
- [76620] Pixel(obj, amount, amountY, blur, dynamic, blendmode, boundary, expand, amountFactor, blurFactor, style, group, inherit)
23071
+ [77709] Pixel(obj, amount, amountY, blur, dynamic, blendmode, boundary, expand, amountFactor, blurFactor, style, group, inherit)
22668
23072
 
22669
23073
  Pixel
22670
23074
  zim class extends ZIM Bitmap which extends CreateJS Bitmap
@@ -22775,7 +23179,7 @@ alpha, cursor, shadow, name, mouseChildren, mouseEnabled, parent, numChildren, e
22775
23179
 
22776
23180
 
22777
23181
  ************************************
22778
- [76939] Parallax(layers, damp, auto, stage, startPaused, mouseMoveOutside, clamp)
23182
+ [78028] Parallax(layers, damp, auto, stage, startPaused, mouseMoveOutside, clamp)
22779
23183
 
22780
23184
  Parallax
22781
23185
  zim class
@@ -22895,7 +23299,7 @@ MORE: http://zimjs.com/code/bits.html?title=Parallax
22895
23299
 
22896
23300
 
22897
23301
  ************************************
22898
- [77229] Flipper(front, back, interactive, time, vertical, flipped, ease, frontPress, backPress, reverse, continuous, style, group, inherit)
23302
+ [78318] Flipper(front, back, interactive, time, vertical, flipped, ease, frontPress, backPress, reverse, continuous, style, group, inherit)
22899
23303
 
22900
23304
  Flipper
22901
23305
  zim class - extends a zim.Container which extends a createjs.Container
@@ -23021,7 +23425,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
23021
23425
 
23022
23426
 
23023
23427
  ************************************
23024
- [77474] Book(width, height, pages, startPage, rollUp, radius, backgroundColor, arrows, handleHTML)
23428
+ [78563] Book(width, height, pages, startPage, rollUp, radius, backgroundColor, arrows, handleHTML)
23025
23429
 
23026
23430
  Book
23027
23431
  zim class - extends a zim.Container which extends a createjs.Container
@@ -23166,7 +23570,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
23166
23570
 
23167
23571
 
23168
23572
  ************************************
23169
- [78158] Scrambler(tile, keys, keyProperty, scramble, time, wait, num, shadowColor, shadowBlur, swap, swapLock, style, group, inherit)
23573
+ [79247] Scrambler(tile, keys, keyProperty, scramble, time, wait, num, shadowColor, shadowBlur, swap, swapLock, style, group, inherit)
23170
23574
 
23171
23575
  Scrambler
23172
23576
  zim class - extends a zim.Container which extends a createjs.Container
@@ -23284,7 +23688,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
23284
23688
 
23285
23689
 
23286
23690
  ************************************
23287
- [78714] Scroller(backing, speed, direction, horizontal, gapFix, stage, container, backing2, style, group, inherit)
23691
+ [79803] Scroller(backing, speed, direction, horizontal, gapFix, stage, container, backing2, style, group, inherit)
23288
23692
 
23289
23693
  Scroller
23290
23694
  zim class extends a createjs.EventDispatcher
@@ -23353,7 +23757,7 @@ MORE: http://zimjs.com/code/bits.html?title=Scroller
23353
23757
 
23354
23758
 
23355
23759
  ************************************
23356
- [78996] Dynamo(sprite, speed, label, startFrame, endFrame, update, reversible, flip, flipVertical, style, group, inherit)
23760
+ [80085] Dynamo(sprite, speed, label, startFrame, endFrame, update, reversible, flip, flipVertical, style, group, inherit)
23357
23761
 
23358
23762
  Dynamo
23359
23763
  zim class - extends a createjs EventDispatcher
@@ -23457,7 +23861,7 @@ dispatches a "pause" event when the Dynamo is paused - could be delayed
23457
23861
 
23458
23862
 
23459
23863
  ************************************
23460
- [79262] Accelerator(objects)
23864
+ [80351] Accelerator(objects)
23461
23865
 
23462
23866
  Accelerator
23463
23867
  zim class extends a createjs.EventDispatcher
@@ -23533,7 +23937,7 @@ items - an array of all objects added with add()
23533
23937
 
23534
23938
 
23535
23939
  ************************************
23536
- [79436] Emitter(obj, width, height, interval, num, life, fade, shrink, warm, decayTime, decayStart, trace, traceFadeTime, traceShiftX, traceShiftY, angle, force, gravity, wind, layers, animation, random, horizontal, vertical, sink, sinkForce, cache, events, startPaused, pool, poolMin, particles, focusWarm, style, group, inherit)
23940
+ [80525] Emitter(obj, width, height, interval, num, life, fade, shrink, warm, decayTime, decayStart, trace, traceFadeTime, traceShiftX, traceShiftY, angle, force, gravity, wind, layers, animation, random, horizontal, vertical, sink, sinkForce, cache, events, startPaused, pool, poolMin, particles, focusWarm, style, group, inherit)
23537
23941
 
23538
23942
  Emitter
23539
23943
  zim class - extends a zim.Container which extends a createjs.Container
@@ -23787,7 +24191,7 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
23787
24191
 
23788
24192
 
23789
24193
  ************************************
23790
- [80383] Generator(color, strokeColor, strokeWidth, draw, stamp, setup, maxCount, boundary, drawCount, drawPause, drawSpacebarPause, startX, startY, cache, recordLinePoints, frame, seed, output, outputType, style, group, inherit)
24194
+ [81472] Generator(color, strokeColor, strokeWidth, draw, stamp, setup, maxCount, boundary, drawCount, drawPause, drawSpacebarPause, startX, startY, cache, recordLinePoints, frame, seed, output, outputType, style, group, inherit)
23791
24195
 
23792
24196
  Generator
23793
24197
  zim class - extends a ZIM Container which extends a CreateJS Container
@@ -24292,7 +24696,7 @@ and drawpause or drawSpacebarPause parameters are true
24292
24696
 
24293
24697
 
24294
24698
  ************************************
24295
- [81693] Pen(size, color, penType, damp, spread, borderColor, borderWidth, end, paper, nib, cache, ctrlKey, cropScale, undo, undoKeys, move, onTop, deleteable, doubleClickDelete, holdDelete, immediateStop, lineAlpha, lineBlendMode, frame, dashed, pullColor, pullThickness, style, group, inherit)
24699
+ [82782] Pen(size, color, penType, damp, spread, borderColor, borderWidth, end, paper, nib, cache, ctrlKey, cropScale, undo, undoKeys, move, onTop, deleteable, doubleClickDelete, holdDelete, immediateStop, lineAlpha, lineBlendMode, frame, dashed, pullColor, pullThickness, style, group, inherit)
24296
24700
 
24297
24701
  Pen
24298
24702
  zim class - extends a ZIM Container which extends a CreateJS Container
@@ -24533,7 +24937,7 @@ dispatches an "undo" and a "redo" whenever undo and redo happens
24533
24937
 
24534
24938
 
24535
24939
  ************************************
24536
- [82813] SoundWave(num, input, include, smoothing, min, max, operation, baseline, magnify, reduce, adjust, channel)
24940
+ [83902] SoundWave(num, input, include, smoothing, min, max, operation, baseline, magnify, reduce, adjust, channel)
24537
24941
 
24538
24942
  SoundWave
24539
24943
  zim class - extends a CreateJS EventDispatcher
@@ -24638,7 +25042,7 @@ dispatches a "ready" event when the sound source is connected and the calculate(
24638
25042
 
24639
25043
 
24640
25044
  ************************************
24641
- [83135] Synth(volume, frequency)
25045
+ [84224] Synth(volume, frequency)
24642
25046
 
24643
25047
  Synth
24644
25048
  zim class - extends a CreateJS EventDispatcher
@@ -25047,7 +25451,7 @@ the result of the play() or tone() method will dispatch a "complete" event when
25047
25451
 
25048
25452
 
25049
25453
  ************************************
25050
- [84577] VR(content, angle, distance, parallax, parallaxAngle, damp, parallaxDamp, startAngle, negativeParallax, borderMarkers, swiper, holder)
25454
+ [85666] VR(content, angle, distance, parallax, parallaxAngle, damp, parallaxDamp, startAngle, negativeParallax, borderMarkers, swiper, holder)
25051
25455
 
25052
25456
  VR
25053
25457
  zim class - extends a ZIM Container which extends a CreateJS Container
@@ -25274,7 +25678,7 @@ MODULE 5: ZIM CODE
25274
25678
  ------------------------------------
25275
25679
 
25276
25680
  ************************************
25277
- [00650] chop(obj, cols, rows, tile, margin, scale)
25681
+ [00652] chop(obj, cols, rows, tile, margin, scale)
25278
25682
 
25279
25683
  chop
25280
25684
  zim function
@@ -25316,7 +25720,7 @@ RETURNS a Tile or an array of Bitmaps depending on tile parameter
25316
25720
 
25317
25721
 
25318
25722
  ************************************
25319
- [00731] shuffle(array, different)
25723
+ [00733] shuffle(array, different)
25320
25724
 
25321
25725
  shuffle
25322
25726
  zim function
@@ -25349,7 +25753,7 @@ MORE: http://zimjs.com/code/bits.html?title=shuffle
25349
25753
 
25350
25754
 
25351
25755
  ************************************
25352
- [00796] pluck(array, remove)
25756
+ [00798] pluck(array, remove)
25353
25757
 
25354
25758
  pluck
25355
25759
  zim function
@@ -25374,7 +25778,7 @@ RETURNS a random item from an array
25374
25778
 
25375
25779
 
25376
25780
  ************************************
25377
- [00831] rand(a, b, integer, negative)
25781
+ [00833] rand(a, b, integer, negative)
25378
25782
 
25379
25783
  rand
25380
25784
  zim function
@@ -25420,7 +25824,7 @@ MORE: http://zimjs.com/code/bits.html?title=rand
25420
25824
 
25421
25825
 
25422
25826
  ************************************
25423
- [00893] seedRandom(seed)
25827
+ [00895] seedRandom(seed)
25424
25828
 
25425
25829
  seedRandom
25426
25830
  zim function
@@ -25472,7 +25876,7 @@ RETURNS the seed
25472
25876
 
25473
25877
 
25474
25878
  ************************************
25475
- [00957] odds(percent)
25879
+ [00959] odds(percent)
25476
25880
 
25477
25881
  odds
25478
25882
  zim function
@@ -25500,7 +25904,7 @@ RETURNS a Boolean
25500
25904
 
25501
25905
 
25502
25906
  ************************************
25503
- [00991] rarity(weights, shuffle, zimColors, dynamicPayload)
25907
+ [00993] rarity(weights, shuffle, zimColors, dynamicPayload)
25504
25908
 
25505
25909
  rarity
25506
25910
  zim function
@@ -25632,7 +26036,7 @@ these properties may have a payload property if payloads are used
25632
26036
 
25633
26037
 
25634
26038
  ************************************
25635
- [01171] repeats(array, total)
26039
+ [01173] repeats(array, total)
25636
26040
 
25637
26041
  repeats
25638
26042
  zim function
@@ -25665,7 +26069,7 @@ if total is true then returns all the repeats - possibly from different sets
25665
26069
 
25666
26070
 
25667
26071
  ************************************
25668
- [01221] series(array|item1|obj, item2, item3)
26072
+ [01223] series(array|item1|obj, item2, item3)
25669
26073
 
25670
26074
  series
25671
26075
  zim function
@@ -25772,7 +26176,7 @@ RETURNS a function that can be called many times - each time returning the next
25772
26176
 
25773
26177
 
25774
26178
  ************************************
25775
- [01519] loop(obj, call, reverse, interval, step, start, end, immediate, complete, completeParams)
26179
+ [01521] loop(obj, call, reverse, interval, step, start, end, immediate, complete, completeParams)
25776
26180
 
25777
26181
  loop
25778
26182
  zim function
@@ -25932,7 +26336,7 @@ MORE: http://zimjs.com/code/bits.html?title=loop
25932
26336
 
25933
26337
 
25934
26338
  ************************************
25935
- [01855] getTIME(time, timeType, minWarning, maxWarning, noWarning)
26339
+ [01857] getTIME(time, timeType, minWarning, maxWarning, noWarning)
25936
26340
 
25937
26341
  getTIME
25938
26342
  global function
@@ -25953,7 +26357,7 @@ Set TIMECHECK = false to turn off check if desired - for instance if getting fal
25953
26357
 
25954
26358
 
25955
26359
  ************************************
25956
- [01899] timeout(time, call, pauseOnBlur, timeUnit)
26360
+ [01901] timeout(time, call, pauseOnBlur, timeUnit)
25957
26361
 
25958
26362
  timeout
25959
26363
  zim function
@@ -26021,7 +26425,7 @@ MORE: http://zimjs.com/code/bits.html?title=timeout
26021
26425
 
26022
26426
 
26023
26427
  ************************************
26024
- [01976] interval(time, call, total, immediate, pauseOnBlur, timeUnit, complete, completeParams)
26428
+ [01978] interval(time, call, total, immediate, pauseOnBlur, timeUnit, complete, completeParams)
26025
26429
 
26026
26430
  interval
26027
26431
  zim function
@@ -26126,7 +26530,7 @@ MORE: http://zimjs.com/code/bits.html?title=interval
26126
26530
 
26127
26531
 
26128
26532
  ************************************
26129
- [02168] async(url, callback, callbackString, maxTime, maxCancel)
26533
+ [02170] async(url, callback, callbackString, maxTime, maxCancel)
26130
26534
 
26131
26535
  async
26132
26536
  zim function
@@ -26236,7 +26640,7 @@ MORE: http://zimjs.com/code/bits.html?title=async
26236
26640
 
26237
26641
 
26238
26642
  ************************************
26239
- [02325] couple(json)
26643
+ [02327] couple(json)
26240
26644
 
26241
26645
  couple
26242
26646
  zim function
@@ -26267,7 +26671,7 @@ RETURNS a JSON string with one less level of objects in form of:
26267
26671
 
26268
26672
 
26269
26673
  ************************************
26270
- [02370] decouple(json)
26674
+ [02372] decouple(json)
26271
26675
 
26272
26676
  decouple
26273
26677
  zim function
@@ -26309,7 +26713,7 @@ the original JSON string will be returned if the initial JSON string is not coup
26309
26713
 
26310
26714
 
26311
26715
  ************************************
26312
- [02426] convertColor(color, toColorType, alpha)
26716
+ [02428] convertColor(color, toColorType, alpha)
26313
26717
 
26314
26718
  convertColor
26315
26719
  zim function
@@ -26361,7 +26765,7 @@ RETURNS a String with the converted color
26361
26765
 
26362
26766
 
26363
26767
  ************************************
26364
- [02695] colorRange(color1, color2, ratio)
26768
+ [02697] colorRange(color1, color2, ratio)
26365
26769
 
26366
26770
  colorRange
26367
26771
  zim function
@@ -26391,7 +26795,7 @@ RETURNS a hex color string
26391
26795
 
26392
26796
 
26393
26797
  ************************************
26394
- [02760] lighten(color, ratio)
26798
+ [02762] lighten(color, ratio)
26395
26799
 
26396
26800
  lighten
26397
26801
  zim function
@@ -26424,7 +26828,7 @@ RETURNS a hex color string
26424
26828
 
26425
26829
 
26426
26830
  ************************************
26427
- [02801] darken(color, ratio)
26831
+ [02803] darken(color, ratio)
26428
26832
 
26429
26833
  darken
26430
26834
  zim function
@@ -26457,7 +26861,7 @@ RETURNS a hex color string
26457
26861
 
26458
26862
 
26459
26863
  ************************************
26460
- [02841] toColor(color, targetColor, ratio)
26864
+ [02843] toColor(color, targetColor, ratio)
26461
26865
 
26462
26866
  toColor
26463
26867
  zim function
@@ -26492,7 +26896,7 @@ RETURNS a hex color string
26492
26896
 
26493
26897
 
26494
26898
  ************************************
26495
- [02882] toAlpha(color, alpha)
26899
+ [02884] toAlpha(color, alpha)
26496
26900
 
26497
26901
  toAlpha
26498
26902
  zim function
@@ -26522,7 +26926,7 @@ RETURNS a hex color string
26522
26926
 
26523
26927
 
26524
26928
  ************************************
26525
- [02918] toBW(hex)
26929
+ [02920] toBW(hex)
26526
26930
 
26527
26931
  toBW
26528
26932
  zim function
@@ -26547,7 +26951,7 @@ RETURNS either "#000000" or "#ffffff" depending on which has more contrast again
26547
26951
 
26548
26952
 
26549
26953
  ************************************
26550
- [02964] invertColor(hex)
26954
+ [02966] invertColor(hex)
26551
26955
 
26552
26956
  invertColor
26553
26957
  zim function
@@ -26572,7 +26976,7 @@ RETURNS a hex color string of inverted color
26572
26976
 
26573
26977
 
26574
26978
  ************************************
26575
- [03018] zimEase(points, polynomials, convert, reverse, lockEnds)
26979
+ [03020] zimEase(points, polynomials, convert, reverse, lockEnds)
26576
26980
 
26577
26981
  zimEase
26578
26982
  zim function
@@ -26638,7 +27042,7 @@ RETURNS an easing function for ZIM animate() or CreateJS TweenJS
26638
27042
 
26639
27043
 
26640
27044
  ************************************
26641
- [03252] spline(points, tension, close, shape, removeLast)
27045
+ [03254] spline(points, tension, close, shape, removeLast)
26642
27046
 
26643
27047
  spline
26644
27048
  zim function
@@ -26680,7 +27084,7 @@ RETURNS an SVG path that can be passed into Squiggle or Blob
26680
27084
 
26681
27085
 
26682
27086
  ************************************
26683
- [03366] getPointAtPercent(x1, y1, x2, y2, percent)
27087
+ [03368] getPointAtPercent(x1, y1, x2, y2, percent)
26684
27088
 
26685
27089
  getPointAtPercent
26686
27090
  zim function
@@ -26706,7 +27110,7 @@ RETURNS an ZIM Point() with x an y at the percentage along the straight line
26706
27110
 
26707
27111
 
26708
27112
  ************************************
26709
- [03406] pointAlongCurve(points, ratio, getAngle)
27113
+ [03408] pointAlongCurve(points, ratio, getAngle)
26710
27114
 
26711
27115
  pointAlongCurve
26712
27116
  zim function
@@ -26741,7 +27145,7 @@ RETURNS a point object with x and y properties on the curve at the ratio
26741
27145
 
26742
27146
 
26743
27147
  ************************************
26744
- [03477] distanceAlongCurve(points)
27148
+ [03479] distanceAlongCurve(points)
26745
27149
 
26746
27150
  distanceAlongCurve
26747
27151
  zim function
@@ -26771,7 +27175,7 @@ RETURNS an approximate distance along the curve
26771
27175
 
26772
27176
 
26773
27177
  ************************************
26774
- [03516] closestPointAlongCurve(point, segmentPoints, num, interpolate, percentage)
27178
+ [03518] closestPointAlongCurve(point, segmentPoints, num, interpolate, percentage)
26775
27179
 
26776
27180
  closestPointAlongCurve
26777
27181
  zim function
@@ -26811,7 +27215,7 @@ RETURNS the index of the closest point in segmentPoints before the given point
26811
27215
 
26812
27216
 
26813
27217
  ************************************
26814
- [03598] transformPoints(points, transformType, amount, x, y)
27218
+ [03600] transformPoints(points, transformType, amount, x, y)
26815
27219
 
26816
27220
  transformPoints
26817
27221
  zim function
@@ -26845,7 +27249,7 @@ RETURNS an array of points with numbers transformed
26845
27249
 
26846
27250
 
26847
27251
  ************************************
26848
- [03694] trimEndPoints(points)
27252
+ [03696] trimEndPoints(points)
26849
27253
 
26850
27254
  trimEndPoints
26851
27255
  zim function
@@ -26871,7 +27275,7 @@ RETURNS an array of points with with the first point having no left control and
26871
27275
 
26872
27276
 
26873
27277
  ************************************
26874
- [03730] reversePoints(points)
27278
+ [03732] reversePoints(points)
26875
27279
 
26876
27280
  reversePoints
26877
27281
  zim function
@@ -26895,7 +27299,7 @@ RETURNS an array of points that is in reverse order to the input points
26895
27299
 
26896
27300
 
26897
27301
  ************************************
26898
- [03769] appendPoints(original, points, controlType)
27302
+ [03771] appendPoints(original, points, controlType)
26899
27303
 
26900
27304
  appendPoints
26901
27305
  zim function
@@ -26929,7 +27333,7 @@ RETURNS the original array of points with the points added to the end
26929
27333
 
26930
27334
 
26931
27335
  ************************************
26932
- [03816] prependPoints(original, points, controlType)
27336
+ [03818] prependPoints(original, points, controlType)
26933
27337
 
26934
27338
  prependPoints
26935
27339
  zim function
@@ -26963,7 +27367,7 @@ RETURNS the original array of points with the points added to the beginning
26963
27367
 
26964
27368
 
26965
27369
  ************************************
26966
- [03863] splitPoints(points, index, trimEnds)
27370
+ [03865] splitPoints(points, index, trimEnds)
26967
27371
 
26968
27372
  splitPoints
26969
27373
  zim function
@@ -26989,7 +27393,7 @@ RETURNS an array if the first and second set of points
26989
27393
 
26990
27394
 
26991
27395
  ************************************
26992
- [03905] outlineImage(image, reverse)
27396
+ [03907] outlineImage(image, reverse)
26993
27397
 
26994
27398
  outlineImage
26995
27399
  zim function
@@ -27033,7 +27437,7 @@ RETURNS an array [[x,y], [x,y]...] points (probably thousands) outlining the sol
27033
27437
 
27034
27438
 
27035
27439
  ************************************
27036
- [04178] simplifyPoints(points, tolerance, highestQuality, reverse, removeLast)
27440
+ [04180] simplifyPoints(points, tolerance, highestQuality, reverse, removeLast)
27037
27441
 
27038
27442
  simplifyPoints
27039
27443
  zim function
@@ -27075,7 +27479,7 @@ RETURNS an array [[x,y],[x,y]...] simplified x and y points
27075
27479
 
27076
27480
 
27077
27481
  ************************************
27078
- [04345] makeID(type, length, letterCase)
27482
+ [04347] makeID(type, length, letterCase)
27079
27483
 
27080
27484
  makeID
27081
27485
  zim function
@@ -27102,7 +27506,7 @@ RETURNS a String id (even if type is number)
27102
27506
 
27103
27507
 
27104
27508
  ************************************
27105
- [04405] makeSyllable(length, firstVowel)
27509
+ [04407] makeSyllable(length, firstVowel)
27106
27510
 
27107
27511
  makeSyllable
27108
27512
  zim function
@@ -27131,7 +27535,7 @@ RETURNS a String syllable of the length
27131
27535
 
27132
27536
 
27133
27537
  ************************************
27134
- [04455] makePrimitive(obj)
27538
+ [04457] makePrimitive(obj)
27135
27539
 
27136
27540
  makePrimitive
27137
27541
  zim function
@@ -27163,7 +27567,7 @@ RETURNS the object with String, Number and Boolean objects converted to primitiv
27163
27567
 
27164
27568
 
27165
27569
  ************************************
27166
- [04511] makeMath()
27570
+ [04513] makeMath()
27167
27571
 
27168
27572
  makeMath
27169
27573
  zim function
@@ -27180,7 +27584,7 @@ zog(sin(20*RAD));
27180
27584
 
27181
27585
 
27182
27586
  ************************************
27183
- [04538] swapProperties(property, objA, objB)
27587
+ [04540] swapProperties(property, objA, objB)
27184
27588
 
27185
27589
  swapProperties
27186
27590
  zim function
@@ -27205,7 +27609,7 @@ MORE: http://zimjs.com/code/bits.html?title=swapProperties
27205
27609
 
27206
27610
 
27207
27611
  ************************************
27208
- [04570] setProps(obj, props)
27612
+ [04572] setProps(obj, props)
27209
27613
 
27210
27614
  setProps
27211
27615
  zim function
@@ -27237,7 +27641,7 @@ props - an object literal {} of properties and values to set on the object or ob
27237
27641
 
27238
27642
 
27239
27643
  ************************************
27240
- [04614] mobile(orientation)
27644
+ [04616] mobile(orientation)
27241
27645
 
27242
27646
  mobile
27243
27647
  zim function
@@ -27286,7 +27690,7 @@ MORE: http://zimjs.com/code/bits.html?title=mobile
27286
27690
 
27287
27691
 
27288
27692
  ************************************
27289
- [04679] vee(obj)
27693
+ [04681] vee(obj)
27290
27694
 
27291
27695
  vee
27292
27696
  zim function
@@ -27314,7 +27718,7 @@ RETURNS a Boolean true if Pick format or false if not (such as just a number, st
27314
27718
 
27315
27719
 
27316
27720
  ************************************
27317
- [04712] extend(subclass, superclass, override, prefix, prototype)
27721
+ [04714] extend(subclass, superclass, override, prefix, prototype)
27318
27722
 
27319
27723
  extend
27320
27724
  zim function - modified CreateJS extend and promote utility methods
@@ -27470,7 +27874,7 @@ MORE: http://zimjs.com/code/bits.html?title=extend
27470
27874
 
27471
27875
 
27472
27876
  ************************************
27473
- [04918] copy(obj, clone, cloneContainers)
27877
+ [04920] copy(obj, clone, cloneContainers)
27474
27878
 
27475
27879
  copy
27476
27880
  zim function
@@ -27516,7 +27920,7 @@ RETURNS a new Object
27516
27920
 
27517
27921
 
27518
27922
  ************************************
27519
- [04986] merge(objects)
27923
+ [04988] merge(objects)
27520
27924
 
27521
27925
  merge
27522
27926
  zim function
@@ -27541,7 +27945,7 @@ RETURNS a new Object
27541
27945
 
27542
27946
 
27543
27947
  ************************************
27544
- [05024] sortObject(obj, property, reverse)
27948
+ [05026] sortObject(obj, property, reverse)
27545
27949
 
27546
27950
  sortObject
27547
27951
  zim function
@@ -27579,7 +27983,7 @@ RETURNS a new Object with sorted properties - the original object is left as is
27579
27983
 
27580
27984
 
27581
27985
  ************************************
27582
- [05079] arraysEqual(a, b, strict)
27986
+ [05081] arraysEqual(a, b, strict)
27583
27987
 
27584
27988
  arraysEqual
27585
27989
  zim function
@@ -27606,7 +28010,7 @@ RETURNS a Boolean
27606
28010
 
27607
28011
 
27608
28012
  ************************************
27609
- [05126] arrayMinMax(arr)
28013
+ [05128] arrayMinMax(arr)
27610
28014
 
27611
28015
  arrayMinMax
27612
28016
  zim function
@@ -27628,7 +28032,7 @@ RETURNS an object with min and max properties
27628
28032
 
27629
28033
 
27630
28034
  ************************************
27631
- [05163] isEmpty(obj)
28035
+ [05165] isEmpty(obj)
27632
28036
 
27633
28037
  isEmpty
27634
28038
  zim function
@@ -27651,7 +28055,7 @@ RETURNS a Boolean
27651
28055
 
27652
28056
 
27653
28057
  ************************************
27654
- [05196] isPick(obj)
28058
+ [05198] isPick(obj)
27655
28059
 
27656
28060
  isPick
27657
28061
  zim function
@@ -27686,7 +28090,7 @@ RETURNS a Boolean as to whether obj is SPECIAL ZIM Pick literal
27686
28090
 
27687
28091
 
27688
28092
  ************************************
27689
- [05237] isJSON(str)
28093
+ [05239] isJSON(str)
27690
28094
 
27691
28095
  isJSON
27692
28096
  zim function
@@ -27709,7 +28113,7 @@ RETURNS a Boolean
27709
28113
 
27710
28114
 
27711
28115
  ************************************
27712
- [05274] parseJSON(str)
28116
+ [05276] parseJSON(str)
27713
28117
 
27714
28118
  parseJSON
27715
28119
  zim function
@@ -27741,7 +28145,7 @@ RETURNS an object
27741
28145
 
27742
28146
 
27743
28147
  ************************************
27744
- [05326] decimals(num, places, addZeros, addZerosBefore, includeZero, time)
28148
+ [05328] decimals(num, places, addZeros, addZerosBefore, includeZero, time)
27745
28149
 
27746
28150
  decimals
27747
28151
  zim function
@@ -27777,7 +28181,7 @@ RETURNS a rounded Number or a String if addZeros, addZerosBefore or time is true
27777
28181
 
27778
28182
 
27779
28183
  ************************************
27780
- [05416] countDecimals(num)
28184
+ [05418] countDecimals(num)
27781
28185
 
27782
28186
  countDecimals
27783
28187
  zim function
@@ -27799,7 +28203,7 @@ RETURNS the number of decimal places
27799
28203
 
27800
28204
 
27801
28205
  ************************************
27802
- [05444] sign(num)
28206
+ [05446] sign(num)
27803
28207
 
27804
28208
  sign
27805
28209
  zim function
@@ -27827,7 +28231,7 @@ RETURNS -1, 0 or 1
27827
28231
 
27828
28232
 
27829
28233
  ************************************
27830
- [05478] constrain(num, min, max, negative)
28234
+ [05480] constrain(num, min, max, negative)
27831
28235
 
27832
28236
  constrain
27833
28237
  zim function
@@ -27856,7 +28260,7 @@ RETURNS num between -max and -min if num is negative and negative parameter is s
27856
28260
 
27857
28261
 
27858
28262
  ************************************
27859
- [05521] dist(a, b, c, d)
28263
+ [05523] dist(a, b, c, d)
27860
28264
 
27861
28265
  dist
27862
28266
  zim function
@@ -27889,7 +28293,7 @@ RETURNS a positive Number that is the distance (could be on an angle)
27889
28293
 
27890
28294
 
27891
28295
  ************************************
27892
- [05570] rectIntersect(a, b, margin)
28296
+ [05572] rectIntersect(a, b, margin)
27893
28297
 
27894
28298
  rectIntersect
27895
28299
  zim function
@@ -27915,7 +28319,7 @@ RETURNS a Boolean as to whether rectangles are intersecting
27915
28319
 
27916
28320
 
27917
28321
  ************************************
27918
- [05607] boundsAroundPoints(points)
28322
+ [05609] boundsAroundPoints(points)
27919
28323
 
27920
28324
  boundsAroundPoints
27921
28325
  zim function
@@ -27940,7 +28344,7 @@ representing the rectangle around the points provided
27940
28344
 
27941
28345
 
27942
28346
  ************************************
27943
- [05648] angle(a, b, c, d)
28347
+ [05650] angle(a, b, c, d)
27944
28348
 
27945
28349
  angle
27946
28350
  zim function
@@ -27984,7 +28388,7 @@ RETURNS a positive Number that is the angle between first and second point
27984
28388
 
27985
28389
 
27986
28390
  ************************************
27987
- [05716] TAU, DEG, RAD, PHI
28391
+ [05718] TAU, DEG, RAD, PHI
27988
28392
 
27989
28393
  TAU, DEG, RAD, PHI
27990
28394
  zim constants
@@ -28009,7 +28413,7 @@ Math.asin(1)*DEG; // is 90
28009
28413
 
28010
28414
 
28011
28415
  ************************************
28012
- [05747] smoothStep(num, min, max)
28416
+ [05749] smoothStep(num, min, max)
28013
28417
 
28014
28418
  smoothStep
28015
28419
  zim function
@@ -28075,7 +28479,7 @@ RETURNS a number between 0 and 1 that represents a transition factor
28075
28479
 
28076
28480
 
28077
28481
  ************************************
28078
- [05819] unicodeToUTF(val)
28482
+ [05821] unicodeToUTF(val)
28079
28483
 
28080
28484
  unicodeToUTF
28081
28485
  zim function
@@ -28100,7 +28504,7 @@ RETURNS a UTF string matching the unicode
28100
28504
 
28101
28505
 
28102
28506
  ************************************
28103
- [05859] capitalizeFirst(string)
28507
+ [05861] capitalizeFirst(string)
28104
28508
 
28105
28509
  capitalizeFirst
28106
28510
  zim function
@@ -28122,7 +28526,7 @@ RETURNS the string with the first letter capitalized
28122
28526
 
28123
28527
 
28124
28528
  ************************************
28125
- [05889] Ajax(master, couple, lock, unique)
28529
+ [05891] Ajax(master, couple, lock, unique)
28126
28530
 
28127
28531
  Ajax
28128
28532
  zim class
@@ -28251,7 +28655,7 @@ lock - get or set the lock data being sent with each get() or post() (not put())
28251
28655
 
28252
28656
 
28253
28657
  ************************************
28254
- [06082] Noise(seed)
28658
+ [06084] Noise(seed)
28255
28659
 
28256
28660
  Noise
28257
28661
  zim class
@@ -28358,7 +28762,7 @@ seed - read only - the seed that was used for the Noise object
28358
28762
 
28359
28763
 
28360
28764
  ************************************
28361
- [06612] Point(x, y, z, q, r, s, t, u, v, w)
28765
+ [06614] Point(x, y, z, q, r, s, t, u, v, w)
28362
28766
 
28363
28767
  Point
28364
28768
  zim class extends a createjs.Point
@@ -28420,7 +28824,7 @@ w - the w value of the point - very probably not used
28420
28824
 
28421
28825
 
28422
28826
  ************************************
28423
- [06710] Bezier(a, b, c, d)
28827
+ [06712] Bezier(a, b, c, d)
28424
28828
 
28425
28829
  Bezier
28426
28830
  zim class
@@ -28467,7 +28871,7 @@ a, b, c, d - the points passed in - each having x and y properties
28467
28871
 
28468
28872
 
28469
28873
  ************************************
28470
- [06828] Boundary(x|bounds, y, width, height)
28874
+ [06830] Boundary(x|bounds, y, width, height)
28471
28875
 
28472
28876
  Boundary
28473
28877
  zim class
@@ -28523,7 +28927,7 @@ contract(number|x, y, width, height) - number of pixels to make the Boundary sma
28523
28927
 
28524
28928
 
28525
28929
  ************************************
28526
- [06919] GradientColor(colors, ratios|angle, x0, y0, x1, y1)
28930
+ [06921] GradientColor(colors, ratios|angle, x0, y0, x1, y1)
28527
28931
 
28528
28932
  GradientColor
28529
28933
  zim class
@@ -28589,7 +28993,7 @@ type - the type of color as a String
28589
28993
 
28590
28994
 
28591
28995
  ************************************
28592
- [07013] RadialColor(colors, ratios, x0, y0, r0, x1, y1, r1)
28996
+ [07015] RadialColor(colors, ratios, x0, y0, r0, x1, y1, r1)
28593
28997
 
28594
28998
  RadialColor
28595
28999
  zim class
@@ -28649,7 +29053,7 @@ type - the type of color as a String
28649
29053
 
28650
29054
 
28651
29055
  ************************************
28652
- [07095] BitmapColor(image, repetition, matrix)
29056
+ [07097] BitmapColor(image, repetition, matrix)
28653
29057
 
28654
29058
  BitmapColor
28655
29059
  zim class
@@ -28693,7 +29097,7 @@ type - the type of color as a String
28693
29097
 
28694
29098
 
28695
29099
  ************************************
28696
- [07149] Damp(startValue, damp)
29100
+ [07151] Damp(startValue, damp)
28697
29101
 
28698
29102
  Damp
28699
29103
  zim class
@@ -28748,7 +29152,7 @@ MORE: http://zimjs.com/code/bits.html?title=Damp
28748
29152
 
28749
29153
 
28750
29154
  ************************************
28751
- [07218] Proportion(baseMin, baseMax, targetMin, targetMax, factor, targetRound, clamp, clampMin, clampMax)
29155
+ [07220] Proportion(baseMin, baseMax, targetMin, targetMax, factor, targetRound, clamp, clampMin, clampMax)
28752
29156
 
28753
29157
  Proportion
28754
29158
  zim class
@@ -28801,7 +29205,7 @@ MORE: http://zimjs.com/code/bits.html?title=Proportion
28801
29205
 
28802
29206
 
28803
29207
  ************************************
28804
- [07303] ProportionDamp(baseMin, baseMax, targetMin, targetMax, damp, factor, targetRound, clamp, clampMin, clampMax)
29208
+ [07305] ProportionDamp(baseMin, baseMax, targetMin, targetMax, damp, factor, targetRound, clamp, clampMin, clampMax)
28805
29209
 
28806
29210
  ProportionDamp
28807
29211
  zim class
@@ -28852,7 +29256,7 @@ MORE: http://zimjs.com/code/bits.html?title=ProportionDamp
28852
29256
 
28853
29257
 
28854
29258
  ************************************
28855
- [07436] Dictionary(unique)
29259
+ [07438] Dictionary(unique)
28856
29260
 
28857
29261
  Dictionary
28858
29262
  zim class
@@ -28919,7 +29323,7 @@ values - array of values synched to keys
28919
29323
 
28920
29324
 
28921
29325
  ************************************
28922
- [07557] Hierarchy(input)
29326
+ [07559] Hierarchy(input)
28923
29327
 
28924
29328
  Hierarchy
28925
29329
  zim class
@@ -29123,7 +29527,7 @@ length - read only total length of all nodes
29123
29527
 
29124
29528
 
29125
29529
  ************************************
29126
- [08013] Pick(choices)
29530
+ [08015] Pick(choices)
29127
29531
 
29128
29532
  Pick
29129
29533
  zim class
@@ -29184,10 +29588,10 @@ choice = Pick.choose([1,2,3]); // 1, 2, or 3
29184
29588
  const rotation = {min:10, max:20, integer:false, negative:true};
29185
29589
  // an example of a Range object - this will give values between -20 and -10 or 10 and 20
29186
29590
  // rotation now holds an object as to how to pick its value
29187
- // this can be passed into a zim.Emitter() for instance
29591
+ // this can be passed into a ZIM Emitter() for instance
29188
29592
  // which will make multiple copies and rotate them based on Pick.choose()
29189
29593
  // or this can be passed into an animation object
29190
- // and then into zim.Emitter() for the animate parameter
29594
+ // and then into Emitter() for the animate parameter
29191
29595
 
29192
29596
  const emitter = new Emitter({
29193
29597
  obj:new Rectangle(),
@@ -29262,7 +29666,7 @@ choices - a reference to the choices object provided as the Pick(choices) parame
29262
29666
 
29263
29667
 
29264
29668
  ************************************
29265
- [08220] createjs.BitmapData(width, height, transparent, fillColor)
29669
+ [08222] createjs.BitmapData(width, height, transparent, fillColor)
29266
29670
 
29267
29671
  BitmapData
29268
29672
  createjs class - DOES NOT extend a DisplayObject
@@ -29492,7 +29896,7 @@ transparent - read-only - Boolean that defines whether the bitmap image supports
29492
29896
 
29493
29897
 
29494
29898
  ************************************
29495
- [08457] createjs.BitmapDataChannel()
29899
+ [08459] createjs.BitmapDataChannel()
29496
29900
 
29497
29901
  BitmapDataChannel
29498
29902
  createjs static class
@@ -29518,7 +29922,7 @@ RED: uint = 1
29518
29922
 
29519
29923
 
29520
29924
  ************************************
29521
- [08487] createjs.ColorTransform(redMultiplier, greenMultiplier, blueMultiplier, alphaMultiplier, redOffset, greenOffset, blueOffset, alphaOffset)
29925
+ [08489] createjs.ColorTransform(redMultiplier, greenMultiplier, blueMultiplier, alphaMultiplier, redOffset, greenOffset, blueOffset, alphaOffset)
29522
29926
 
29523
29927
  ColorTransform
29524
29928
  createjs class
@@ -29586,7 +29990,7 @@ See the parameters - which are all properties
29586
29990
 
29587
29991
 
29588
29992
  ************************************
29589
- [08563] scrollX(num, time)
29993
+ [08565] scrollX(num, time)
29590
29994
 
29591
29995
  scrollX
29592
29996
  zim function
@@ -29610,7 +30014,7 @@ RETURNS a Number
29610
30014
 
29611
30015
 
29612
30016
  ************************************
29613
- [08593] scrollY(num, time)
30017
+ [08595] scrollY(num, time)
29614
30018
 
29615
30019
  scrollY
29616
30020
  zim function
@@ -29634,7 +30038,7 @@ RETURNS a Number
29634
30038
 
29635
30039
 
29636
30040
  ************************************
29637
- [08653] windowWidth()
30041
+ [08655] windowWidth()
29638
30042
 
29639
30043
  windowWidth
29640
30044
  zim function
@@ -29652,7 +30056,7 @@ RETURNS a Number
29652
30056
 
29653
30057
 
29654
30058
  ************************************
29655
- [08687] windowHeight()
30059
+ [08689] windowHeight()
29656
30060
 
29657
30061
  windowHeight
29658
30062
  zim function
@@ -29670,7 +30074,7 @@ RETURNS a Number
29670
30074
 
29671
30075
 
29672
30076
  ************************************
29673
- [08721] browserZoom()
30077
+ [08723] browserZoom()
29674
30078
 
29675
30079
  browserZoom
29676
30080
  zim function
@@ -29696,7 +30100,7 @@ RETURNS a Number
29696
30100
 
29697
30101
 
29698
30102
  ************************************
29699
- [08770] getQueryString(string)
30103
+ [08772] getQueryString(string)
29700
30104
 
29701
30105
  getQueryString
29702
30106
  zim function
@@ -29732,7 +30136,7 @@ RETURNS an object literal with properties matching the keys and values matching
29732
30136
 
29733
30137
 
29734
30138
  ************************************
29735
- [08826] swapHTML(idA, idB)
30139
+ [08828] swapHTML(idA, idB)
29736
30140
 
29737
30141
  swapHTML
29738
30142
  zim function
@@ -29754,7 +30158,7 @@ RETURNS Boolean indicating success
29754
30158
 
29755
30159
 
29756
30160
  ************************************
29757
- [08853] urlEncode(string)
30161
+ [08855] urlEncode(string)
29758
30162
 
29759
30163
  urlEncode
29760
30164
  zim function
@@ -29778,7 +30182,7 @@ RETURNS a String
29778
30182
 
29779
30183
 
29780
30184
  ************************************
29781
- [08884] urlDecode(string)
30185
+ [08886] urlDecode(string)
29782
30186
 
29783
30187
  urlDecode
29784
30188
  zim function
@@ -29801,7 +30205,7 @@ RETURNS a String
29801
30205
 
29802
30206
 
29803
30207
  ************************************
29804
- [08912] setCookie(name, value, days)
30208
+ [08914] setCookie(name, value, days)
29805
30209
 
29806
30210
  setCookie
29807
30211
  zim function
@@ -29830,7 +30234,7 @@ RETURNS a Boolean indicating success
29830
30234
 
29831
30235
 
29832
30236
  ************************************
29833
- [08956] getCookie(name)
30237
+ [08958] getCookie(name)
29834
30238
 
29835
30239
  getCookie
29836
30240
  zim function
@@ -29856,7 +30260,7 @@ RETURNS a String or undefined if not found
29856
30260
 
29857
30261
 
29858
30262
  ************************************
29859
- [08995] deleteCookie(name)
30263
+ [08997] deleteCookie(name)
29860
30264
 
29861
30265
  deleteCookie
29862
30266
  zim function
@@ -29894,13 +30298,14 @@ to log the item(s) to the console.
29894
30298
  Use F12 to open your Browser console.
29895
30299
  zog is dedicated to Pragma (Madeline Zen) who was coding with Dr Abstract (Dan Zen) from the start
29896
30300
 
29897
- Also comes in six ZIM colors:
30301
+ Also comes in seven ZIM colors:
29898
30302
  zogg("green");
29899
30303
  zogp("pink");
29900
30304
  zogb("blue");
29901
30305
  zogr("red");
29902
30306
  zogy("yellow");
29903
30307
  zogo("orange");
30308
+ zogs("salmon");
29904
30309
 
29905
30310
  Note: If zon (comments on) is set to false before ZIM runs, then all zog() commands are turned off
29906
30311
 
@@ -29925,7 +30330,7 @@ MORE: http://zimjs.com/code/bits.html?title=zog
29925
30330
 
29926
30331
 
29927
30332
  ************************************
29928
- [00134] zid(string) ~ id
30333
+ [00136] zid(string) ~ id
29929
30334
 
29930
30335
  zid
29931
30336
  global function
@@ -29944,7 +30349,7 @@ RETURNS HTML tag with id of string or null if not found
29944
30349
 
29945
30350
 
29946
30351
  ************************************
29947
- [00158] zss(string) ~ css
30352
+ [00160] zss(string) ~ css
29948
30353
 
29949
30354
  zss
29950
30355
  global function
@@ -29963,7 +30368,7 @@ RETURNS style property of HTML tag with id of string or undefined if not found
29963
30368
 
29964
30369
 
29965
30370
  ************************************
29966
- [00183] zgo(url, target, width, height, fullscreen, modal) ~ go
30371
+ [00185] zgo(url, target, width, height, fullscreen, modal) ~ go
29967
30372
 
29968
30373
  zgo
29969
30374
  global function
@@ -29998,7 +30403,7 @@ MORE: http://zimjs.com/code/bits.html?title=zgo
29998
30403
 
29999
30404
 
30000
30405
  ************************************
30001
- [00231] zum(string) ~ num
30406
+ [00233] zum(string) ~ num
30002
30407
 
30003
30408
  zum
30004
30409
  global function
@@ -30024,7 +30429,7 @@ RETURNS a Number
30024
30429
 
30025
30430
 
30026
30431
  ************************************
30027
- [00263] zot(value) ~ not
30432
+ [00265] zot(value) ~ not
30028
30433
 
30029
30434
  zot
30030
30435
  global function
@@ -30051,7 +30456,7 @@ MORE: http://zimjs.com/code/bits.html?title=zot
30051
30456
 
30052
30457
 
30053
30458
  ************************************
30054
- [00292] zop(e) ~ stop
30459
+ [00294] zop(e) ~ stop
30055
30460
 
30056
30461
  zop
30057
30462
  global function
@@ -30076,7 +30481,7 @@ RETURNS null
30076
30481
 
30077
30482
 
30078
30483
  ************************************
30079
- [00324] zil() ~ still
30484
+ [00326] zil() ~ still
30080
30485
 
30081
30486
  zil
30082
30487
  global function
@@ -30102,7 +30507,7 @@ RETURNS an Array
30102
30507
 
30103
30508
 
30104
30509
  ************************************
30105
- [00366] zet(selector, first) ~ set
30510
+ [00368] zet(selector, first) ~ set
30106
30511
 
30107
30512
  zet
30108
30513
  global function
@@ -30149,7 +30554,7 @@ MORE: http://zimjs.com/code/bits.html?title=zet
30149
30554
 
30150
30555
 
30151
30556
  ************************************
30152
- [00482] zob(func, args, sig, scope) ~ object
30557
+ [00484] zob(func, args, sig, scope) ~ object
30153
30558
 
30154
30559
  zob
30155
30560
  global function
@@ -30212,7 +30617,7 @@ MORE: http://zimjs.com/code/bits.html?title=zob
30212
30617
 
30213
30618
 
30214
30619
  ************************************
30215
- [00564] zik(Array|function|object|Pick) ~ pick
30620
+ [00566] zik(Array|function|object|Pick) ~ pick
30216
30621
 
30217
30622
  zik
30218
30623
  global function
@@ -30223,7 +30628,7 @@ See ZIM Pick() under the Code module Classes.
30223
30628
 
30224
30629
 
30225
30630
  ************************************
30226
- [00581] zta(item1, item2, etc.) ~ table
30631
+ [00583] zta(item1, item2, etc.) ~ table
30227
30632
 
30228
30633
  zta
30229
30634
  global function
@@ -30245,7 +30650,7 @@ RETURNS items it is logging
30245
30650
 
30246
30651
 
30247
30652
  ************************************
30248
- [00606] zor(item1, item2, etc.) ~ or
30653
+ [00608] zor(item1, item2, etc.) ~ or
30249
30654
 
30250
30655
  zor
30251
30656
  global function
@@ -30274,7 +30679,7 @@ MODULE 7: ZIM META
30274
30679
  ------------------------------------
30275
30680
 
30276
30681
  ************************************
30277
- [90336] DISTILL
30682
+ [91571] DISTILL
30278
30683
 
30279
30684
  distill
30280
30685
  zim constant
@@ -30312,7 +30717,7 @@ MORE: http://zimjs.com/code/bits.html?title=distill
30312
30717
 
30313
30718
 
30314
30719
  ************************************
30315
- [90376] distill()
30720
+ [91611] distill()
30316
30721
 
30317
30722
  distill
30318
30723
  zim function
@@ -30355,7 +30760,7 @@ MORE: http://zimjs.com/code/bits.html?title=distill
30355
30760
 
30356
30761
 
30357
30762
  ************************************
30358
- [90433] parseAudioSprite(audioSpriteData, outputAudioSprite)
30763
+ [91668] parseAudioSprite(audioSpriteData, outputAudioSprite)
30359
30764
 
30360
30765
  parseAudioSprite
30361
30766
  zim function
@@ -30405,7 +30810,7 @@ RETURNS - a CreateJS AudioSprite data object
30405
30810
 
30406
30811
 
30407
30812
  ************************************
30408
- [90502] previewAudioSprite(audioSpriteData, numLetters, frame)
30813
+ [91737] previewAudioSprite(audioSpriteData, numLetters, frame)
30409
30814
 
30410
30815
  previewAudioSprite
30411
30816
  zim function
@@ -30451,7 +30856,7 @@ RETURNS - a ZIM Tab which is automatically added to the frame's stage
30451
30856
 
30452
30857
 
30453
30858
  ************************************
30454
- [90588] svgToBitmap(svg, callback, width, height, params)
30859
+ [91823] svgToBitmap(svg, callback, width, height, params)
30455
30860
 
30456
30861
  svgToBitmap
30457
30862
  zim function
@@ -30490,7 +30895,7 @@ RETURNS - null
30490
30895
 
30491
30896
 
30492
30897
  ************************************
30493
- [90689] makeContent(content, maxWidth, color, scrollBar)
30898
+ [91924] makeContent(content, maxWidth, color, scrollBar)
30494
30899
 
30495
30900
  makeContent
30496
30901
  zim function
@@ -30554,7 +30959,7 @@ RETURNS - a Label if a string or number is passed as content, a Container if a c
30554
30959
 
30555
30960
 
30556
30961
  ************************************
30557
- [90831] zimify(obj, a, b, c, d, list)
30962
+ [92066] zimify(obj, a, b, c, d, list)
30558
30963
 
30559
30964
  zimify
30560
30965
  global function
@@ -30636,7 +31041,7 @@ MORE: http://zimjs.com/code/bits.html?title=zimify
30636
31041
 
30637
31042
 
30638
31043
  ************************************
30639
- [91299] zimplify(exclude)
31044
+ [92540] zimplify(exclude)
30640
31045
 
30641
31046
  zimplify
30642
31047
  global function
@@ -30685,7 +31090,7 @@ exclude - (default null) a String command or an array of command strings to not
30685
31090
 
30686
31091
 
30687
31092
  ************************************
30688
- [91365] fastFrame(cjs, stage)
31093
+ [92606] fastFrame(cjs, stage)
30689
31094
 
30690
31095
  fastFrame
30691
31096
  Function
@@ -30714,7 +31119,7 @@ stage - (default null) a reference to the CreateJS stage
30714
31119
 
30715
31120
 
30716
31121
  ************************************
30717
- [91408] addWires(obj)
31122
+ [92649] addWires(obj)
30718
31123
 
30719
31124
  addWires
30720
31125
  Function
@@ -30743,7 +31148,7 @@ RETURNS - obj for chainging
30743
31148
 
30744
31149
 
30745
31150
  ************************************
30746
- [91464] setBlurDetect()
31151
+ [92705] setBlurDetect()
30747
31152
 
30748
31153
  setBlurDetect
30749
31154
  Function
@@ -30776,7 +31181,7 @@ and a "tabfocus" event to the ZIM Default Frame when focused
30776
31181
 
30777
31182
 
30778
31183
  ************************************
30779
- [91608] ZIMONON
31184
+ [92849] ZIMONON
30780
31185
 
30781
31186
  ZIMONON (note the extra ON at the end of ZIMON - so ZIMONON)
30782
31187
  ZIM constant
@@ -30817,7 +31222,7 @@ function ready() {
30817
31222
 
30818
31223
 
30819
31224
  ************************************
30820
- [91657] ZIMON = {}
31225
+ [92898] ZIMON = {}
30821
31226
 
30822
31227
  ZIMON
30823
31228
  zim static class
@@ -30929,7 +31334,7 @@ parse(string) - pass in the ZIMON string to turn back into an object (or objects
30929
31334
 
30930
31335
 
30931
31336
  ************************************
30932
- [91905] Wonder(wid, client, app, notes, server)
31337
+ [93146] Wonder(wid, client, app, notes, server)
30933
31338
 
30934
31339
  Wonder
30935
31340
  zim class
@@ -31042,7 +31447,7 @@ dispose() - clear any event listeners, etc.
31042
31447
 
31043
31448
 
31044
31449
  ************************************
31045
- [92112] VERSION
31450
+ [93353] VERSION
31046
31451
 
31047
31452
  VERSION
31048
31453
  zim constant
@@ -31066,7 +31471,7 @@ getLatestVersions(function(versions) {
31066
31471
 
31067
31472
 
31068
31473
  ************************************
31069
- [92139] getLatestVersions(call)
31474
+ [93380] getLatestVersions(call)
31070
31475
 
31071
31476
  getLatestVersions
31072
31477
  zim function
@@ -31101,7 +31506,7 @@ call - a callback function with a versions object is provided to the parameter
31101
31506
 
31102
31507
 
31103
31508
  ************************************
31104
- [92183] PWA(call, label, backgroundColor, color, backdropColor, pane, noScale)
31509
+ [93424] PWA(call, label, backgroundColor, color, backdropColor, pane, noScale)
31105
31510
 
31106
31511
  PWA
31107
31512
  zim class extends a CreateJS EventDispatcher
@@ -31218,7 +31623,7 @@ but usually, just pass the callback as the first parameter
31218
31623
 
31219
31624
 
31220
31625
  ************************************
31221
- [92378] QR(url, color, backgroundColor, size, clickable, correctLevel)
31626
+ [93619] QR(url, color, backgroundColor, size, clickable, correctLevel)
31222
31627
 
31223
31628
  QR
31224
31629
  zim class extends a ZIM Bitmap which extends a CreateJS Bitmap
@@ -31248,7 +31653,7 @@ correctLevel - (default 2) numbers from 0(M), 1(L), 2(H), 3(Q) corresponding to
31248
31653
 
31249
31654
 
31250
31655
  ************************************
31251
- [92445] GIF(file, width, height, startPaused)
31656
+ [93686] GIF(file, width, height, startPaused)
31252
31657
 
31253
31658
  GIF
31254
31659
  zim class extends a ZIM Bitmap which extends a CreateJS Bitmap
@@ -31326,7 +31731,7 @@ animator - the Gifler animator
31326
31731
 
31327
31732
 
31328
31733
  ************************************
31329
- [92637] Rive(width, height, src, stateMachines, artboard, animations, autoplay, layout, buffer, file, useOffscreenRenderer, enableRiveAssetCDN, shouldDisableRiveListeners, isTouchScrollEnabled, automaticallyHandleEvents, onLoad, onLoadError, onPlay, onPause, onStop, onLoop, onStateChange, onAdvance, assetLoader, canvas)
31734
+ [93882] Rive(width, height, src, stateMachines, artboard, animations, autoplay, layout, buffer, file, useOffscreenRenderer, enableRiveAssetCDN, shouldDisableRiveListeners, isTouchScrollEnabled, automaticallyHandleEvents, onLoad, onLoadError, onPlay, onPause, onStop, onLoop, onStateChange, onAdvance, assetLoader, canvas)
31330
31735
 
31331
31736
  Rive
31332
31737
  zim class extends the Rive class
@@ -31504,7 +31909,7 @@ riveevent - dispatched when a Rive Event gets reported
31504
31909
 
31505
31910
 
31506
31911
  ************************************
31507
- [92872] RiveListener(src, damp, canvas, wasm)
31912
+ [94117] RiveListener(src, damp, canvas, wasm)
31508
31913
 
31509
31914
  RiveListener
31510
31915
  zim class extends a CreateJS EventDispatcher
@@ -31590,7 +31995,7 @@ pointerup - dispatches a pointerup event when pointer is up
31590
31995
 
31591
31996
 
31592
31997
  ************************************
31593
- [93143] THEME()
31998
+ [94388] THEME()
31594
31999
 
31595
32000
  THEME
31596
32001
  zim static class
@@ -31718,12 +32123,4 @@ https://www.facebook.com/zimjs
31718
32123
  And follow on Twitter:
31719
32124
  https://twitter.com/Dr_Abstract
31720
32125
 
31721
- Thanks for using ZIM - all the best!
31722
-
31723
-
31724
-
31725
-
31726
-
31727
-
31728
-
31729
-
32126
+ Thanks for using ZIM - all the best!