Update documentation with css parameter and valid color values

This commit is contained in:
Jeff Shillitto
2019-08-14 22:15:05 +10:00
parent acc2706484
commit 3b4580ab7c
2 changed files with 5 additions and 4 deletions

View File

@@ -106,8 +106,9 @@ namespace openshot
/// @param x_offset The number of pixels to offset the text on the X axis (horizontal)
/// @param y_offset The number of pixels to offset the text on the Y axis (vertical)
/// @param gravity The alignment / gravity of the text
/// @param html The html you want to render / display
/// @param background_color The background color of the text (also supports Transparent)
/// @param html The HTML you want to render / display
/// @param css The CSS you want to apply to style the HTML
/// @param background_color The background color of the frame image (valid values are a color string in #RRGGBB or #AARRGGBB notation, a CSS color name, or 'transparent')
QtHtmlReader(int width, int height, int x_offset, int y_offset, GravityType gravity, std::string html, std::string css, std::string background_color);
/// Close Reader

View File

@@ -115,8 +115,8 @@ namespace openshot
/// @param text The text you want to generate / display
/// @param font The font of the text
/// @param font_size The size of the text
/// @param text_color The color of the text
/// @param background_color The background color of the text (also supports Transparent)
/// @param text_color The color of the text (valid values are a color string in #RRGGBB or #AARRGGBB notation or a CSS color name)
/// @param background_color The background color of the frame image (valid values are a color string in #RRGGBB or #AARRGGBB notation, a CSS color name, or 'transparent')
QtTextReader(int width, int height, int x_offset, int y_offset, GravityType gravity, std::string text, std::string font, double font_size, std::string text_color, std::string background_color);
/// Close Reader