Skip to main content
Version: Streamsheets 2.5

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

NameDescription
ImageImage URL or URI

Return Value

JSON String, which defines the fill format and can be used in drawing functions.

Example

FunctionResultComment
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