use of net.sf.latexdraw.models.interfaces.shape.FreeHandStyle in project latexdraw by arnobl.
the class ShapeFreeHandCustomiser method initialize.
@Override
public void initialize(final URL location, final ResourceBundle resources) {
mainPane.managedProperty().bind(mainPane.visibleProperty());
final Map<FreeHandStyle, Image> cache = new EnumMap<>(FreeHandStyle.class);
// NON-NLS
cache.put(FreeHandStyle.LINES, new Image("/res/freehand/line.png"));
// NON-NLS
cache.put(FreeHandStyle.CURVES, new Image("/res/freehand/curve.png"));
initComboBox(freeHandType, cache, FreeHandStyle.values());
}
Aggregations