public final CssMetaData<S, Number> createSizeCssMetaData (String property, Function<S, StyleableProperty<Number>> function)

Create a CssMetaData<S, Number> with initial value of 0d, and inherit flag defaulting to false.

Parameters:
property    The CSS property name.
function    A function that returns the StyleableProperty<Number> that corresponds to this CssMetaData.

Exceptions:
java.lang.IllegalArgumentException    if property is null or an empty string, or function is null.