public void insertImage(MXUIImage image) { var imageLayer = new MXUILayer(); imageLayer.contents = image; imageLayer.layerInfo.frame = image.layerInfo.frame; imageLayer.layerInfo.name = image.layerInfo.name; layers.Add(imageLayer); }
public void insertLayer(MXUILayer layer) { layers.Add(layer); }
private void DownloadAssets(ICollection<string> files, string file, MXUILayer layer) { DownloadAssets(files, file, layer.contents); }