summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/gfx/stroke.txt
blob: f90f3d9adc78473eb8cbf82240c9138e6e13589a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
~~Title: Efl.Gfx.Stroke~~
===== Description =====

%%Type defining stroke information. Describes the properties to define the path stroke.%%

//Since 1.14//

{{page>:develop:api-include:efl:gfx:stroke:description&nouser&nolink&nodate}}

===== Fields =====

{{page>:develop:api-include:efl:gfx:stroke:fields&nouser&nolink&nodate}}

  * **scale** - %%Stroke scale%%
  * **width** - %%Stroke width%%
  * **centered** - %%Stroke centered%%
  * **color** - %%Stroke color%%
  * **dash** - %%Stroke dash%%
  * **dash_length** - %%Stroke dash length%%
  * **cap** - %%Stroke cap%%
  * **join** - %%Stroke join%%

===== Signature =====

<code>
struct Efl.Gfx.Stroke {
    scale: double;
    width: double;
    centered: double;
    color: Efl.Gfx.Stroke.Color;
    dash: ptr(Efl.Gfx.Dash);
    dash_length: uint;
    cap: Efl.Gfx.Cap;
    join: Efl.Gfx.Join;
}
</code>

===== C signature =====

<code c>
typedef struct _Efl_Gfx_Stroke {
    double scale;
    double width;
    double centered;
    Efl_Gfx_Stroke_Color color;
    Efl_Gfx_Dash *dash;
    unsigned int dash_length;
    Efl_Gfx_Cap cap;
    Efl_Gfx_Join join;
} Efl_Gfx_Stroke;
</code>