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 FontSizeInPixels
of
(int pixels) Returns theFontSizeInPixels
instance for the given value.default int
value()
Returns the font size value measured in pixels.
-
Method Details
-
of
Returns theFontSizeInPixels
instance 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.
-