R# graphics argument scripting helper
InteropArgumentHelper
01 Syntax
EmilyPkg.InteropArgumentHelper
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| getSize | 1 | parse data tuple for graphics element size |
| FontCss | 1 | |
| getStrokePenCSS | 1 | Stroke |
| getVector2D | 1 |
03 Members
getSize(
Object, Environment, String)parse data tuple for graphics element size
Remarks
Size value could be parse from the generated string via the Casting.SizeParser() helper function.
Parameters
| Name | Type | Description |
|---|---|---|
size | Object | supports a numeric vector, string, list element with tuple fields: width/height or w/h |
env | Environment | - |
default | String | - |
Returns
a string with value format: width,height
FontCss(
Environment, String, FontStyle)Remarks
default font family name is configed via options(fontFamily = "Bookman Old Style");
Parameters
| Name | Type | Description |
|---|---|---|
env | Environment | - |
size | String | - |
style | FontStyle | - |
getStrokePenCSS(
Object, String)Stroke
Parameters
| Name | Type | Description |
|---|---|---|
stroke | Object | - |
default | String | - |
getVector2D(
Object)