XML technologies / XSL-FO / Reference / Antenna House Formatter XSL Extensions / Functions / radial-gradient()

(Excerpt from "XSL-FO ― Die Referenz" by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

Category Extended Functions

Expresses the radial gradient. It can be specified as a value of background-image.

radial-gradient( [ [ <shape> || <size> ] [ at <position> ]? , | at <position>, ]? <color-stop> [ , <color-stop> ]+ )

<shape>

=

circle | ellipse

<size>

=

closest-side | farthest-side | closest-corner | farthest-corner | [ <length> | [ <length> | <percentage> ]{2} ]

<color-stop>

=

<color> [ <percentage> | <length> ]?

Arguments have the following meanings.

<shape>

Specifies the shape of the gradient.

<size>

Specifies the size of the gradient.

<position>

Specifies the center position of a circle or an oval. The value is the same as that of the background-position in CSS2.1.

<color-stop>

Specifies the color, percent and length for the gradient.

☞[CSS3-Images] Radial Gradients: the ‘radial-gradient()’ notation

This function is not available with AH Formatter V6.3 Lite.

back to top