exportClip function
Implementation
String exportClip(Clip clip) {
String rt = "hardEdge";
if (clip == Clip.none) {
rt = "none";
} else if (clip == Clip.hardEdge) {
rt = "hardEdge";
} else if (clip == Clip.antiAlias) {
rt = "antiAlias";
} else if (clip == Clip.antiAliasWithSaveLayer) {
rt = "antiAliasWithSaveLayer";
}
return rt;
}