Class IconSpec

java.lang.Object
org.patternfly.icon.IconSpec

public final class IconSpec extends Object
The IconSpec class represents the specification of an SVG icon. It contains information such as the name of the icon set, the unique icon name, the x and y offsets of the SVG view box, the icon width and height in pixels, the SVG path attribute value, and the copyright holder and SPDX short license identifier.
  • Field Details

    • set

      public final String set
      name of icon set
    • id

      public final String id
      unique icon name
    • xOffset

      public final int xOffset
      SVG view box x offset
    • yOffset

      public final int yOffset
      SVG view box y offset
    • width

      public final int width
      Icon width in pixels
    • height

      public final int height
      Icon height in pixels
    • path

      public final String path
      SVG path attribute value
    • license

      public final String license
      copyright holder and SPDX short license identifier