the law defines technical stuff (size/shape/color, official usage criteria, desecration clauses). presidential heraldry council has a document that goes over actual usecases (order in the lineup, mast height, display angles, how it's displayed in officials' cabinets, the stuff on your image basically), various government institutions will have flag display protocols which are basically the same thing but narrowed for practicality.
Thailand