effect Groups To File
open fun <P : Position2D<out P>?> effectGroupsToFile(effectFile: File, effects: List<EffectGroup<P>>)
Content copied to clipboard
Write the given list of EffectGroups to the destination file.
Parameters
<P>
the position type
effect File
Destination file
effects
List of group of effects
Throws
com. google. gson. Json IOException
If there was a problem writing to the writer
If the file exists but is a directory rather than a regular file, does not exist but cannot be created, cannot be opened for any other reason, or another I/O error occurs