You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Update documentation with css parameter and valid color values
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user