| public JabRefIcon withSize(int size) Returns a copy of this icon rendered at size pixels. Each implementation applies the size to its own
backing node type, so callers (e.g. JabRefIconView) need not know whether it is a font or SVG node.
Note the unit differs by backing type: for a font glyph size is the em/font size, so the glyph sits
inside that box with the font's intrinsic padding; for an SVG the path is fitted edge-to-edge into a
size×size square. The same size can thus render an SVG slightly larger than the font
glyph.
|