Lines Matching refs:color
43 Canvas supports all the color formats like
50 For indexed color formats (``LV_COLOR_FORMAT_I1/2/4/8``), the palette needs to be
52 :cpp:expr:`lv_canvas_set_palette(canvas, index, color)`. For example, the following
62 To set an individual pixel's color on the Canvas, use
63 :cpp:expr:`lv_canvas_set_px(canvas, x, y, color, opa)`. With indexed color formats
64 (``LV_COLOR_FORMAT_I1/2/4/8``) pass the color index as the ``color`` argument by using
65 the *blue* channel in the ``color`` value, e.g. :cpp:expr:`lv_color_make(0, 0, index)`.
68 Canvas to blue with 50% opacity. Note that if the current color format
69 doesn't support colors (e.g. :cpp:enumerator:`LV_COLOR_FORMAT_A8`) the color will be
75 color format of the buffer and Canvas need to match.
79 The draw functions can draw to any color format to which LVGL can render. Typically this means