create_gradient_fill: Create a gradient fill style for an element

View source: R/funs.R

create_gradient_fillR Documentation

Create a gradient fill style for an element

Description

Create a gradient fill style for an element.

Usage

create_gradient_fill(direction, start_color, end_color)

Arguments

direction

The direction of the gradient (e.g., left-to-right, right-to-left, bottom-to-top, top-to-bottom). Taking the example of bottom-to-top, this means that the start color is at the bottom of the paint pattern and the end color is at the top, with a gradient between them.

start_color

The starting color of the gradient. It can be any HTML color name or HEX code, as well as special keywords such as inherit, none, swimlane.

end_color

The ending color of the gradient. It can be any HTML color name or HEX code, as well as special keywords such as inherit, none, swimlane.

Value

A gradient fill style object.


process-analytics/bpmn-visualization-R documentation built on Jan. 25, 2025, 10:34 a.m.