/** * Creates a new {@linkplain RenderPreview} * * @param manager the manager * @param configuration the associated configuration * @return a new configuration */ @NonNull public static RenderPreview create( @NonNull RenderPreviewManager manager, @NonNull Configuration configuration) { LayoutCanvas canvas = manager.getCanvas(); return new RenderPreview(manager, canvas, configuration); }