Class FontDescriptorFactory
java.lang.Object
com.amalgamasimulation.desktop.html.ui.font.FontDescriptorFactory
Static factory for FontDescriptor objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontDescriptorfromFont(org.eclipse.swt.graphics.Font font, boolean includeName) Constructs a FontDescriptor object from SWT Font.
-
Method Details
-
fromFont
Constructs a FontDescriptor object from SWT Font.- Parameters:
font- the Font objectincludeName- whether to set the font name- Returns:
- new FontDescriptor object
-