private static void InitPropertyDict() { //drawobj int count = DrawObj.GetPropertyNames().Length; for (int i = 0; i < count; i++) { _propertyIndexDict.Add(DrawObj.GetPropertyNames()[i], new PropertyIndex((int)DrawType.Obj, i)); } //drawvector count = DrawVector.GetPropertyNames().Length; for (int i = 0; i < count; i++) { _propertyIndexDict.Add(DrawVector.GetPropertyNames()[i], new PropertyIndex((int)DrawType.Vector, i)); } //drawtext count = DrawText.GetPropertyNames().Length; for (int i = 0; i < count; i++) { _propertyIndexDict.Add(DrawText.GetPropertyNames()[i], new PropertyIndex((int)DrawType.Text, i)); } //todo add control:variable }