use of com.xenoage.zong.layout.frames.ImageFrame in project Zong by Xenoage.
the class ImageFrameRenderer method paintTransformed.
@Override
protected void paintTransformed(Frame frame, Canvas canvas, RendererArgs args) {
ImageFrame imageFrame = (ImageFrame) frame;
String imagePath = imageFrame.getImagePath();
Rectangle2f rect = getLocalRect(frame);
canvas.drawImage(rect, imagePath);
}
Aggregations