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
Modifier and TypeFieldDescriptionfinal int
Icon height in pixelsfinal String
unique icon namefinal String
copyright holder and SPDX short license identifierfinal String
SVG path attribute valuefinal String
name of icon setfinal int
Icon width in pixelsfinal int
SVG view box x offsetfinal int
SVG view box y offset -
Method Summary
-
Field Details
-
set
name of 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
-