use of com.ait.lienzo.client.core.image.Image in project kie-wb-common by kiegroup.
the class LienzoImageStripGlyphRenderer method render.
@Override
public Group render(final ImageStripGlyph glyph, final double width, final double height) {
final Group group = new Group();
final Image image = imageBuilder.apply(ImageStripRegistry.getName(glyph.getStripType()), glyph.getIndex());
scaleShape(image, width, height);
group.add(image);
return group;
}