~~Title: Efl.Text_Style~~ ====== Efl.Text_Style (interface) ====== ===== Description ===== %%Style to apply to the text%% %%A style can be coloring, effects, underline, strikethrough etc.%% {{page>:develop:api-include:efl:text_style:description&nouser&nolink&nodate}} ===== Members ===== **[[:develop:api:efl:text_style:property:backing_color|backing_color]]** //**(get, set)**//\\ > %%Backing color%% void efl_text_backing_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_backing_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:backing_type|backing_type]]** //**(get, set)**//\\ > %%Enable or disable backing type%% Efl_Text_Style_Backing_Type efl_text_backing_type_get(const Eo *obj); void efl_text_backing_type_set(Eo *obj, Efl_Text_Style_Backing_Type type); \\ **[[:develop:api:efl:text_style:property:effect_type|effect_type]]** //**(get, set)**//\\ > %%Type of effect used for the displayed text%% Efl_Text_Style_Effect_Type efl_text_effect_type_get(const Eo *obj); void efl_text_effect_type_set(Eo *obj, Efl_Text_Style_Effect_Type type); \\ **[[:develop:api:efl:text_style:property:gfx_filter|gfx_filter]]** //**(get, set)**//\\ > %%Program that applies a special filter%% const char *efl_text_gfx_filter_get(const Eo *obj); void efl_text_gfx_filter_set(Eo *obj, const char *code); \\ **[[:develop:api:efl:text_style:property:glow2_color|glow2_color]]** //**(get, set)**//\\ > %%Second color of the glow effect%% void efl_text_glow2_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_glow2_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:glow_color|glow_color]]** //**(get, set)**//\\ > %%Color of glow effect%% void efl_text_glow_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_glow_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:normal_color|normal_color]]** //**(get, set)**//\\ > %%Color of text, excluding style%% void efl_text_normal_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_normal_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:outline_color|outline_color]]** //**(get, set)**//\\ > %%Color of outline effect%% void efl_text_outline_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_outline_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:shadow_color|shadow_color]]** //**(get, set)**//\\ > %%Color of shadow effect%% void efl_text_shadow_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_shadow_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:shadow_direction|shadow_direction]]** //**(get, set)**//\\ > %%Direction of shadow effect%% Efl_Text_Style_Shadow_Direction efl_text_shadow_direction_get(const Eo *obj); void efl_text_shadow_direction_set(Eo *obj, Efl_Text_Style_Shadow_Direction type); \\ **[[:develop:api:efl:text_style:property:strikethrough_color|strikethrough_color]]** //**(get, set)**//\\ > %%Color of strikethrough_style%% void efl_text_strikethrough_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_strikethrough_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:strikethrough_type|strikethrough_type]]** //**(get, set)**//\\ > %%Type of strikethrough style%% Efl_Text_Style_Strikethrough_Type efl_text_strikethrough_type_get(const Eo *obj); void efl_text_strikethrough_type_set(Eo *obj, Efl_Text_Style_Strikethrough_Type type); \\ **[[:develop:api:efl:text_style:property:underline2_color|underline2_color]]** //**(get, set)**//\\ > %%Color of underline2 style%% void efl_text_underline2_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_underline2_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:underline_color|underline_color]]** //**(get, set)**//\\ > %%Color of normal underline style%% void efl_text_underline_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_underline_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:underline_dashed_color|underline_dashed_color]]** //**(get, set)**//\\ > %%Color of dashed underline style%% void efl_text_underline_dashed_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_underline_dashed_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a); \\ **[[:develop:api:efl:text_style:property:underline_dashed_gap|underline_dashed_gap]]** //**(get, set)**//\\ > %%Gap of dashed underline style%% int efl_text_underline_dashed_gap_get(const Eo *obj); void efl_text_underline_dashed_gap_set(Eo *obj, int gap); \\ **[[:develop:api:efl:text_style:property:underline_dashed_width|underline_dashed_width]]** //**(get, set)**//\\ > %%Width of dashed underline style%% int efl_text_underline_dashed_width_get(const Eo *obj); void efl_text_underline_dashed_width_set(Eo *obj, int width); \\ **[[:develop:api:efl:text_style:property:underline_height|underline_height]]** //**(get, set)**//\\ > %%Height of underline style%% double efl_text_underline_height_get(const Eo *obj); void efl_text_underline_height_set(Eo *obj, double height); \\ **[[:develop:api:efl:text_style:property:underline_type|underline_type]]** //**(get, set)**//\\ > %%Sets an underline style on the text%% Efl_Text_Style_Underline_Type efl_text_underline_type_get(const Eo *obj); void efl_text_underline_type_set(Eo *obj, Efl_Text_Style_Underline_Type type); \\ ===== Events =====