Create a StyleableProperty<Paint>. The initial value defautls to Color.BLACK and the inherit flag defaults to false.
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. |
Diagram: StyleablePropertyFactory