Lines Matching defs:text
305 * @brief Draws text.
308 * If the text length exceeds the value of <b>maxWidth</b>, the text will be truncated. \n
311 * @param text Indicates the pointer to the text content.
312 * @param maxWidth Indicates the maximum width of the text that can be displayed. If the maximum width is
313 * exceeded, the text is truncated.
314 * @param fontStyle Indicates the text layout and font style. For details, see {@link FontStyle}.
315 * @param paint Indicates the text style. For details, see {@link Paint}.
319 void DrawLabel(const Point& startPoint, const char* text, uint16_t maxWidth, const FontStyle& fontStyle,
406 /* Draw text on canvas */
407 void StrokeText(const char* text, const Point& point, const FontStyle& fontStyle, const Paint& paint);
410 /* Returns an object containing the specified text width */
411 Point MeasureText(const char* text, const FontStyle& fontStyle);
519 const char* text;
525 TextParam() : text(nullptr), position({0, 0}), fontOpa(0)