markOpacity
markOpacity(
mark):number
Defined in: packages/core/src/opacity.ts:8
The opacity that shows a mark’s lightness: 0.3 for the first category of an ordered dimension, full strength for the last, and full strength when lightness is not encoded or unknown. Renderers use it so lightness reads the same whatever they draw.
Parameters
Section titled “Parameters”Pick<Mark, "lightness">
Returns
Section titled “Returns”number