Example
====== Shapes - Shape Direction ======
^ by: | Sebastian Beutel |
^ published: | January 2019 |
^ description: | changes shape direction for connected shapes |
^ remarks: | idea: https://www.facebook.com/groups/AvolitesTitanOne/permalink/1554856074650519/ |
{{tag>shape direction}}
==== functions ====
  * [[:macros:function:Editor.Shapes.SetCurrentShapesDirection]]
A longer file with macros for all possible directions is available at {{ :macros:example:sb_shapesdirection.xml}}
 
===== Code =====
  
    
      Editor.Shapes.SetCurrentShapesDirection("None")
    
  
  
    
      Editor.Shapes.SetCurrentShapesDirection("LeftToRight")
    
  
  
    
      Editor.Shapes.SetCurrentShapesDirection("TopDown")
    
  
.... 
===== Explanation =====
This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
tbd
===== How to use it =====
  * [[:macros:deploying|make this macro available]]
  * fire a playback with a shape
  * load it for live editing (with ''/'' ''''), select shape and hit ''''
  * fire one of the playbacks as you like to set the shape direction
~~DISCUSSION~~