aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/gfx/map/property/map_color.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pages/develop/api/efl/gfx/map/property/map_color.txt')
-rw-r--r--pages/develop/api/efl/gfx/map/property/map_color.txt42
1 files changed, 21 insertions, 21 deletions
diff --git a/pages/develop/api/efl/gfx/map/property/map_color.txt b/pages/develop/api/efl/gfx/map/property/map_color.txt
index 98fa8f7cb..9b21c244f 100644
--- a/pages/develop/api/efl/gfx/map/property/map_color.txt
+++ b/pages/develop/api/efl/gfx/map/property/map_color.txt
@@ -1,4 +1,25 @@
~~Title: Efl.Gfx.Map.map_color~~
+===== Keys =====
+
+ * **idx** - %%ID of the point, from 0 to 3 (included). -1 can be used to set the color for all points, but it is invalid for get().%%
+===== Values =====
+
+ * **r** - %%Red (0 - 255)%%
+ * **g** - %%Green (0 - 255)%%
+ * **b** - %%Blue (0 - 255)%%
+ * **a** - %%Alpha (0 - 255)%%
+===== Description =====
+
+%%Color of a vertex in the map.%%
+
+%%This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.%%
+
+%%The color values must be premultiplied (ie. %%''a''%% >= {%%''r''%%, %%''g''%%, %%''b''%%}).%%
+
+//Since 1.20//
+{{page>:develop:api-include:efl:gfx:map:property:map_color:description&nouser&nolink&nodate}}
+
+
===== Signature =====
<code>
@@ -35,27 +56,6 @@ void efl_gfx_map_color_get(const Eo *obj, int idx, int *r, int *g, int *b, int *
void efl_gfx_map_color_set(Eo *obj, int idx, int r, int g, int b, int a);
</code>
-===== Keys =====
-
- * **idx** - %%ID of the point, from 0 to 3 (included). -1 can be used to set the color for all points, but it is invalid for get().%%
-===== Values =====
-
- * **r** - %%Red (0 - 255)%%
- * **g** - %%Green (0 - 255)%%
- * **b** - %%Blue (0 - 255)%%
- * **a** - %%Alpha (0 - 255)%%
-===== Description =====
-
-%%Color of a vertex in the map.%%
-
-%%This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.%%
-
-%%The color values must be premultiplied (ie. %%''a''%% >= {%%''r''%%, %%''g''%%, %%''b''%%}).%%
-
-//Since 1.20//
-{{page>:develop:api-include:efl:gfx:map:property:map_color:description&nouser&nolink&nodate}}
-
-
===== Implemented by =====
* **Efl.Gfx.Map.map_color**