IconUtil.getGlyphIcon

Hello,

I see you guys have a method to return GlyphIcons in the SDK. I’m wondering if you guys have any kind of guide/documentation on what these Glyph Icon numbers/names correspond to? I’m hoping I can reuse some of the Icons you guys already have in your designer :slight_smile:

Java Doc Link

IconUtil is probably not the class to use. I would start with the static methods on VectorIcons. I think you should be able to run the main method on that class, which will open a dialog showing our built in icons.

1 Like

If I wanted to add my own custom svg icons into a .json file like you guys are doing with that class, what format do I need to convert those into?

It’s pretty rudimentary; a truncated example:

[
  {
    "name": "session",
    "paths": [
      "M14.25,3.53l-5.5,-3.17c-0.463542,-0.270029 ..."
    ]
  },
  {
    "name": "page",
    "paths": [
      "M14.5,1c0.276142,0 ..."
    ]
  }
]