Class SupportLogo

java.lang.Object
io.github.jbastgen.stemma.app.ui.SupportLogo

public final class SupportLogo extends Object
The Buy Me a Coffee cup (feature 19) and the yellow button it sits in, as on the service's own buttons. The logo is the service's file bmc-logo.svg (a trademark of Buy Me a Coffee, used only to mark the link to the author's page). JavaFX cannot draw SVG files, but the file is nothing but filled paths, so they are turned into SVGPath nodes: sharp at any size, no image file, no extra library. Colours are the logo's own, so it looks the same in the light and in the dark theme.
  • Method Details

    • button

      public static javafx.scene.control.Button button(Runnable action)
      The link as the service shows it: the cup and "Buy me a coffee" on a yellow button.