linearGradient

Adds a <linearGradient> child element to the <defs> element.

Parameters

block

A lambda to configure the <linearGradient> element.