|
TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
| bool ResourceCreate | ( | string | resource_name, |
| int[] | data, | ||
| uint | img_width, | ||
| uint | img_height, | ||
| uint | data_xoffset, | ||
| uint | data_yoffset, | ||
| uint | data_width, | ||
| int | color_format | ||
| ) |
Creates a resource based on the array of pixels
| resource_name | Resource name |
| data | A one-dimensional array for creating a complete image. |
| img_width | The width of the rectangular image area in pixels to be placed in the resource in the form of an image. It cannot be greater than the data_width value. |
| img_height | The height of the rectangular image area in pixels to be placed in the resource in the form of an image. |
| data_xoffset | The horizontal rightward offset of the rectangular area of the image. |
| data_yoffset | The vertical downward offset of the rectangular area of the image. |
| data_width | reserved |
| color_format | reserved |