SELECT GEO ATTR COLOR: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 2: Line 2:
|description=Set the user color attribute to be associated with a geometry feature.
|description=Set the user color attribute to be associated with a geometry feature.


|param1=<red>|param1_desc={{set red}}
|param1=<geo ref>|param1_desc={{geo ref}}
|param2=<green>|param2_desc={{set green}}
|param2=<red>|param1_desc={{set red}}
|param3=<blue>|param3_desc={{set blue}}
|param3=<green>|param2_desc={{set green}}
|param4=<blue>|param3_desc={{set blue}}
}}
}}


===Example===
===Example===
:SELECT_GEO_ATTR_COLOR 0, 1, 0
:SET_GEO_ATTR_COLOR 41, 0, 127, 255


[[Category:Geometry]]
[[Category:Geometry]]

Revision as of 22:29, 29 July 2010

Command

SELECT_GEO_ATTR_COLOR <geo ref>, <red>, <green>, <blue>


Set the user color attribute to be associated with a geometry feature.

Parameters

<geo ref>
The red component of a color, a number between 0 and 255
<red>
The green component of a color, a number between 0 and 255
<green>
The blue component of a color, a number between 0 and 255
<blue>

Example

SET_GEO_ATTR_COLOR 41, 0, 127, 255