FILLPATTERN
note
This function is deprecated. Use the format menu in the "Object Properties" to set the fill style to image. See here
Syntax
FILLPATTERN(Image[, Style])
Arguments
Name | Description |
---|---|
Image | Image URL or URI |
Return Value
JSON String, which defines the fill format and can be used in drawing functions.
Example
Function | Result | Comment |
---|---|---|
FILLPATTERN("http://www.somesite.com/someimage.png") | Draw an image pattern based on an URL | |
FILLPATTERN("data:image/jpeg;base64,base64syntax ") | Draw an image pattern based on a base64 string |