Function

HarfBuzz-0.0HarfBuzzpaint_linear_gradientSince 7.0.0

  • Perform a "linear-gradient" paint operation.

    Parameters

    • funcs: paint_funcs_t

      paint functions

    • paint_data: any

      associated data passed by the caller

    • color_line: color_line_t

      Color information for the gradient

    • x0: number

      X coordinate of the first point

    • y0: number

      Y coordinate of the first point

    • x1: number

      X coordinate of the second point

    • y1: number

      Y coordinate of the second point

    • x2: number

      X coordinate of the third point

    • y2: number

      Y coordinate of the third point

    Returns void

    7.0.0