Function layout_2013::display_list::gradient::linear

source ยท
pub fn linear(
    style: &ComputedValues,
    size: Size2D<Au>,
    stops: &[GradientItem<Color, LengthPercentage>],
    direction: LineDirection,
    _color_interpolation_method: &ColorInterpolationMethod,
    flags: GradientFlags,
) -> (Gradient, Vec<GradientStop>)