public void initialize() {
super.initialize();
Resources.INSTANCE.pastel().getImage(new ResourceCallback<ImageElementResource>() {
@Override
public void onSuccess(ImageElementResource resource) {
CanvasPattern pattern = getPrimarySurface().createPattern(
resource.getImage(), PatternRepetition.REPEAT);
getPrimarySurface().setFillStyle(pattern)
.fillRectangle(0, 0, 600, 200)
.fillShape(new CircleShape(100, 300, 100))
.setFont("60px sans-serif")