SDChris85
10 years agoNew Contributor
Can we get JavaFX Label BackgroundFill properties?
I'm trying to access a javaFX label field property to determine the background color of the label. I drill all the way down to this property, labelobj.background.value.BACKGROUND_COLOR.property.O...
- 10 years ago
I was able to use the same properties mentioned on this post (http://community.smartbear.com/t5/Desktop-Testing/Finding-Background-Color-in-javaFX-object-Table/m-p/98663/highlight/true#M2552)
The exact properties I extracted the color value from is
labelobj.background.value.fills.get(0).getFill().toString().OleValue;
Value returned: 0xffd700ff
I believe the value returned is of type RGBA? If anyone has any idea, please confirm. Thanks