public final StyleableProperty<Paint> createStyleablePaintProperty (S styleable, String propertyName, String cssProperty, Function<S, StyleableProperty<Paint>> function)

Create a StyleableProperty<Paint>. The initial value defautls to Color.BLACK and the inherit flag defaults to false.

Parameters:
styleable    The this reference of the returned property. This is also the property bean.
propertyName    The field name of the StyleableProperty<Paint>
cssProperty    The CSS property name
function    A function that returns the StyleableProperty<Paint> that was created by this method call.