public final CssMetaData<S, Paint> createPaintCssMetaData (String property, Function<S, StyleableProperty<Paint>> function)

Create a CssMetaData<S, Paint> with initial value of Color.BLACK, and inherit flag defaulting to false.

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

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