Search in sources :

Example 1 with ITextProp

use of net.sf.latexdraw.models.interfaces.prop.ITextProp in project latexdraw by arnobl.

the class LText method copy.

@Override
public void copy(final IShape s) {
    super.copy(s);
    if (s instanceof ITextProp) {
        final ITextProp textSh = (ITextProp) s;
        text.setValue(textSh.getText());
        textPosition = textSh.getTextPosition();
    }
}
Also used : ITextProp(net.sf.latexdraw.models.interfaces.prop.ITextProp)

Aggregations

ITextProp (net.sf.latexdraw.models.interfaces.prop.ITextProp)1