public CustomBackgroundBlock(long start, long length, bool setRandomBrush = true) { StartOffset = start; Length = length; if (setRandomBrush) { Color = RandomBrushes.PickBrush(); } }
/// <summary> /// Set a random brush to this instance /// </summary> public void SetRandomColor() => Color = RandomBrushes.PickBrush();