public FontCssMetaData(String property,
Font initial)
Constructs a FontCSSMetaData object from the specified property and initial Font.
The property name is concatenated with "-weight", "-style",
"-family" and "-size" to create the sub-properties.
For example,
new FontCssMetaData<Text>("-fx-font", Font.getDefault());
will create a CssMetaData for "-fx-font" with sub-properties:
"-fx-font-weight", "-fx-font-style", "-fx-font-family" and "-fx-font-size"
Parameters:
property - the property name
initial - the initial font
Scripting on this page tracks web page traffic, but does not change the content in any way.