blob: 9cbf30071b56a2175a20c9e3a8783533a01af44c [file] [log] [blame]
package com.airbnb.lottie;
import org.json.JSONObject;
class CircleShape {
private final IAnimatablePathValue position;
private final AnimatablePointValue size;
CircleShape(JSONObject json, LottieComposition composition) {
position = AnimatablePathValue.createAnimatablePathOrSplitDimensionPath(
json.optJSONObject("p"), composition);
size = new AnimatablePointValue(json.optJSONObject("s"), composition);
}
public IAnimatablePathValue getPosition() {
return position;
}
public AnimatablePointValue getSize() {
return size;
}
}