public void SetNotBakedLayerData(int layerIndex, string name, bool isImageLayer) { apPSDSetLayer newLayer = new apPSDSetLayer(); newLayer.SetNotBaked(layerIndex, name, isImageLayer); _layers.Add(newLayer); }
public void SetPSDLayerData(int layerIndex, string name, int width, int height, //int posOffset_Left, //int posOffset_Top, //int posOffset_Right, //int posOffset_Bottom, bool isImageLayer, //int bakedWidth, //int bakedHeight, //int bakedImagePos_Left, //int bakedImagePos_Top, int transformID, float bakedLocalPosOffset_X, float bakedLocalPosOffset_Y) { apPSDSetLayer newLayer = new apPSDSetLayer(); newLayer.SetBakeData(layerIndex, name, width, height, //posOffset_Left, //posOffset_Top, //posOffset_Right, //posOffset_Bottom, isImageLayer, //bakedWidth, //bakedHeight, //bakedImagePos_Left, //bakedImagePos_Top, transformID, bakedLocalPosOffset_X, bakedLocalPosOffset_Y); _layers.Add(newLayer); }