Changes between Version 2 and Version 3 of DrawingCommands


Ignore:
Timestamp:
Dec 17, 2011, 7:27:46 PM (13 years ago)
Author:
cinc
Comment:

Correction for 'transl' command. Added color commands

Legend:

Unmodified
Added
Removed
Modified
  • DrawingCommands

    v2 v3  
    1414See the [IconTutorial Icon Tutorial] for an example.
    1515
    16 === Moving the cursor position ===
     16=== Moving paint position for images ===
    1717
    1818{{{ 
    1919<transl>x y</>
    2020
    21    Specify the position for the next paint command.
     21   Specify the position for the next image command.
    2222}}}
    2323
     
    2525
    2626See the [IconTutorial Icon Tutorial] for an example.
     27
     28Note that for other drawing commands the position is set using ''<move></>''.
     29
     30=== Setting colors ===
     31
     32{{{ 
     33<color>r g b</>
     34
     35   Set the color to be used by the next command.
     36}}}
     37
     38The values ''r'', ''g'' and ''b'' are in the range 0.0 to 1.0. They form a final RGB value for the color.
     39
     40{{{
     41Examples:
     42
     43   0.2 0.2 0.2 : a light grey
     44   1.0 0.0 0.0 : pure red
     45    1   0   0  : same as before
     46   0.0 0.0 0.0 : black
     47}}}
     48----
     49{{{ 
     50<colora>r g b a</>
     51
     52   Set the color and alpha to be used by the next command.
     53}}}
     54
     55Same as the ''<color></>'' but you may specify the alpha. A value of ''a'' can be chosen between 0.0 to 1.
     56
     57{{{
     58  a=1   : completely opaque
     59  a=0.0 : completely transparent (this means invisible)
     60  a=0.5 : 50% transparent
     61}}}
    2762
    2863=== Sizing ===