drawVBL

From RPTools Wiki
Revision as of 14:20, 8 April 2013 by JML (talk | contribs) (Modified usage)
Jump to navigation Jump to search

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Needs a proper description.
Parameters need to be defined.
Lacks examples.

drawVBL() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.3b89
This function draws a VBL shape at the supplied coordinates.

Usage

drawVBL(???)

Parameters

Consist of JSON objects nested in a JSON Array. The objects' keys seem to be "shape" ("polygon", "rectangle", "circle", "cross"), "r" (???), "fill" (boolean), "close" (???), "thickness" (pixels), "points" (object), "x" (pixels), "y" (pixels), "w" (pixels), "h" (pixels), "scale" (???), "radius" (pixels), "sides" (integer), "facing" (degrees from ??? rotating ???), "rx" (pixels), "ry" (pixels).

Example

This example doesn't really do anything.
[h: exampleVariable = "a,b,c"]
[r: exampleFunction(exampleVariable, reverse)]

Returns:

c,b,a

See Also