blob: 50fd2f90c3e6172f53dbfdeca90bc6acddd0bae2 [file] [log] [blame]
package com.airbnb.lottie;
import android.support.annotation.RestrictTo;
/**
* Data class describing an image asset exported by bodymovin.
*/
public class LottieImageAsset {
private final int width;
private final int height;
private final String id;
private final String fileName;
private final String dirName;
@RestrictTo(RestrictTo.Scope.LIBRARY)
public LottieImageAsset(int width, int height, String id, String fileName, String dirName) {
this.width = width;
this.height = height;
this.id = id;
this.fileName = fileName;
this.dirName = dirName;
}
public int getWidth() {
return width;
}
public int getHeight() {
return height;
}
public String getId() {
return id;
}
public String getFileName() {
return fileName;
}
@SuppressWarnings("unused") public String getDirName() {
return dirName;
}
}