use of com.xenoage.zong.core.music.util.Duration in project Zong by Xenoage.
the class RestNotator method compute.
public RestNotation compute(Rest rest, Context context) {
float width = context.settings.spacings.normalChordSpacings.getWidth(rest.getDuration());
Duration.Type duration = Duration.INSTANCE.getRestType(rest.getDuration());
return new RestNotation(rest, new ElementWidth(width), duration);
}
Aggregations