User Tools

Site Tools


macros:example:sethalo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
macros:example:sethalo [2018/12/22 11:22]
icke_siegen
macros:example:sethalo [2018/12/22 11:23] (current)
icke_siegen [Explanation]
Line 42: Line 42:
  
 From Titan 11.2 on it is expected to be possible to set an arbitrary RGB colour. From Titan 11.2 on it is expected to be possible to set an arbitrary RGB colour.
 +
 +> Add a converter for AcwColour which allows macros and WebAPI to specify a colour value for any properties or methods that use one e.g. for halos. The prefix for this cast will be "​colour"​ and value can either be a hexidecimal string or an integer value (not hexidecimal).
 +>
 +> For example it should be possible to call the following in a macro:
 +>
 +> ActionScript.SetProperty("​Handles.PendingHalo",​ colour:"#​ffff0000"​)
 +
  
 ===== How to use it ===== ===== How to use it =====
macros/example/sethalo.txt ยท Last modified: 2018/12/22 11:23 by icke_siegen