Skip to main content
Module

x/graphviz/mod.ts>attribute.gradientangle

🦕 Simple Graphviz library for Deno.
Latest
variable attribute.gradientangle
import { attribute } from "https://deno.land/x/graphviz@v0.2.1/mod.ts";
const { gradientangle } = attribute;

If a gradient fill is being used, this determines the angle of the fill. For linear fills, the colors transform along a line specified by the angle and the center of the object. For radial fills, a value of zero causes the colors to transform radially from the center; for non-zero values, the colors transform from a point near the object's periphery as specified by the value.

If unset, the default angle is 0.

type

"gradientangle"