Package com.teamdev.jxbrowser.ui
Interface FontSizeInPixels
- All Superinterfaces:
FontSize
A size of the font in pixels.
- Since:
- 7.20
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontSizeInPixelsof(int pixels) Returns theFontSizeInPixelsinstance for the given value.default intvalue()Returns the font size value measured in pixels.
-
Method Details
-
of
Returns theFontSizeInPixelsinstance for the given value.- Parameters:
pixels- the font size in pixels. Must not be negative- Throws:
IllegalArgumentException- if the value provided is negative.
-
value
default int value()Returns the font size value measured in pixels.
-