sciss / raphaelicons   1.0.7

GNU Library General Public License v2.1 only GitHub

Icon set for Java2D/Scala, designed by Dmitry Baranovskiy. Mirror of https://codeberg.org/sciss/RaphaelIcons

Scala versions: 3.x 2.13 2.12 2.11 2.10

RaphaelIcons

Build Status Maven Central

statement

Translation of the Raphael icon suite by Dmitry Baranovskiy into a Java2D-based Scala library. Icon source made available from raphaeljs.com/icons under the MIT License. Library code (C)opyright 2013–2020 by Hanns Holger Rutz. All rights reserved. Released under the GNU LGPL v2.1+.

overview

icons

linking

Use the following dependency:

"de.sciss" %% "raphael-icons" % v

The current version v is "1.0.7".

building

This project builds with sbt against Scala 2.13, 2.12, Dotty. The last version to support Scala 2.11 was 1.0.6.

The actual icon class is synthesised into sub-project core, using the source generator provided in sub-project generate.

To see the source generation, run sbt generate/run. To compile the core project, use sbt raphael-icons/compile. To run a demo, use sbt raphael-icons/test:run. There are two demos. Demo shows a matrix of all icons. Mouse mouse hover to see the icon names (method names in Shapes.java). IconDemo shows how to create a custom sized icon.

contributing

Please see the file CONTRIBUTING.md

reminder to self

  • to try out path generation, sbt generate/console and then path(<someString>).