Skip to main content
Version: Streamsheets 2.5

FILLRADIALGRADIENT

Create a radial gradient description from the given arguments.

Syntax

FILLRADIALGRADIENT(StartColor,EndColor,XOffset,YOffset)

Arguments

NameDescription
StartColorHexadecimal color value for color at the beginning of the gradient.
XOffsetRelative horizontal position of center of gradient (0 to 100)
YOffsetRelative vertical position of center of gradient (0 to 100)

Return Value

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

Example

FunctionResultComment
FILLRADIALGRADIENT("#000000", "#FFFFFF", 50, 50)Draw a radial gradient starting at the center of the drawing object.