Search in sources :

Example 1 with Font

use of org.thoughtcrime.securesms.scribbles.viewmodel.Font in project Signal-Android by WhisperSystems.

the class ScribbleActivity method createTextLayer.

private TextLayer createTextLayer() {
    TextLayer textLayer = new TextLayer();
    Font font = new Font();
    font.setColor(TextLayer.Limits.INITIAL_FONT_COLOR);
    font.setSize(TextLayer.Limits.INITIAL_FONT_SIZE);
    textLayer.setFont(font);
    return textLayer;
}
Also used : TextLayer(org.thoughtcrime.securesms.scribbles.viewmodel.TextLayer) Font(org.thoughtcrime.securesms.scribbles.viewmodel.Font)

Aggregations

Font (org.thoughtcrime.securesms.scribbles.viewmodel.Font)1 TextLayer (org.thoughtcrime.securesms.scribbles.viewmodel.TextLayer)1