public ColorZone(Devices.DeviceKeys[] zone_keys, Color zone_color, string zone_name = "New Zone") { name = zone_name; keysequence = new KeySequence(zone_keys); color = zone_color; effect = LayerEffects.None; effect_config = new LayerEffectConfig(); }
public ColorZone(ColorZone otherZone) { name = otherZone.name; keysequence = new KeySequence(otherZone.keysequence); color = otherZone.color; effect = otherZone.effect; effect_config = new LayerEffectConfig(otherZone.effect_config); }
public ColorZone(Devices.DeviceKeys[] zone_keys, LayerEffects zone_effect, string zone_name = "New Zone") { name = zone_name; keysequence = new KeySequence(zone_keys); color = Color.Black; effect = zone_effect; effect_config = new LayerEffectConfig(); GenerateRandomColor(); }
public ColorZone(string zone_name = "New Zone") { name = zone_name; keysequence = new KeySequence(); color = Color.Black; effect = LayerEffects.None; effect_config = new LayerEffectConfig(); GenerateRandomColor(); }
public LayerEffectConfig(LayerEffectConfig otherConfig) { primary = otherConfig.primary; secondary = otherConfig.secondary; speed = otherConfig.speed; angle = otherConfig.angle; animation_type = otherConfig.animation_type; animation_reverse = otherConfig.animation_reverse; brush = otherConfig.brush; }