CapModel

23 Sep 20251 minute to read

Interface for a class Cap

Properties

border BorderModel

Sets and gets the options to customize the style properties of the border of the pointer cap in the circular gauge.

color string

Sets and gets the color for the pointer cap in the circular gauge.

linearGradient LinearGradientModel

Sets and gets the properties to render a linear gradient for the cap of the needle pointer.
If both linear and radial gradient is set, then the linear gradient will be rendered in the cap.

radialGradient RadialGradientModel

Sets and gets the properties to render a radial gradient for cap of the needle pointer.

radius number

Sets and gets the radius of pointer cap in the circular gauge.