From e0a1843de9c64636729470465feb3499a566e99a Mon Sep 17 00:00:00 2001 From: Chris Ruppel Date: Thu, 24 Jan 2013 22:38:46 -0600 Subject: [PATCH] Docs for blocktype function. --- src/main/javascript/drone/blocktype.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/javascript/drone/blocktype.js b/src/main/javascript/drone/blocktype.js index 9b3d242..adf9606 100644 --- a/src/main/javascript/drone/blocktype.js +++ b/src/main/javascript/drone/blocktype.js @@ -296,6 +296,16 @@ load(__folder + "drone.js"); } } } + // + // Creates the text out of blocks + // + // message + // string with text to be displayed + // fg + // foreground material. The material the text will be in. + // bg + // background material, optional. The negative space within the bounding box of the text. + // Drone.extend('blocktype', function(message,fg,bg){ this.chkpt('blocktext');