Function layout_2020::display_list::gradient::build_linear

source ยท
pub(super) fn build_linear(
    style: &ComputedValues,
    items: &[GradientItem<Color, LengthPercentage>],
    line_direction: &LineDirection,
    _color_interpolation_method: &ColorInterpolationMethod,
    flags: GradientFlags,
    gradient_box: Size2D<f32, LayoutPixel>,
    builder: &mut DisplayListBuilder<'_>,
) -> WebRenderGradient
Expand description