Search in sources :

Example 1 with TextStamping

use of com.xenoage.zong.musiclayout.stampings.TextStamping in project Zong by Xenoage.

the class TextRenderer method draw.

/**
 * Draws the given {@link TextStamping} on the given {@link Canvas},
 * using the given {@link RendererArgs}.
 */
@Override
public void draw(Stamping stamping, Canvas canvas, RendererArgs args) {
    TextStamping s = (TextStamping) stamping;
    drawWith(s.getText(), null, s.getPositionMm(), canvas);
}
Also used : TextStamping(com.xenoage.zong.musiclayout.stampings.TextStamping)

Aggregations

TextStamping (com.xenoage.zong.musiclayout.stampings.TextStamping)1