Package org.patternfly.icon
Class IconSpec
java.lang.Object
org.patternfly.icon.IconSpec
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 Summary
FieldsModifier and TypeFieldDescriptionfinal intIcon height in pixelsfinal Stringunique icon namefinal Stringcopyright holder and SPDX short license identifierfinal StringSVG path attribute valuefinal Stringname of the icon setfinal intIcon width in pixelsfinal intSVG view box x offsetfinal intSVG view box y offset -
Method Summary
-
Field Details
-
set
name of the icon set -
id
unique icon name -
xOffset
public final int xOffsetSVG view box x offset -
yOffset
public final int yOffsetSVG view box y offset -
width
public final int widthIcon width in pixels -
height
public final int heightIcon height in pixels -
path
SVG path attribute value -
license
copyright holder and SPDX short license identifier
-