Pretty much everything to do with layout in JavaFX is a double. I can't define custom properties because they are doubles.
As an example in the library I currently doing I have the following properties which are doulbes
Radius
RadiusX
RadiusY
Opacity
Threshold
XCoordinate
YCoordinate
OffsetX
OffsetY
Spread
Level
StrokeMiterLimit
CenterX
CenterY
StartAngle
Length
ControlX1
ControlX2
ControlY1
ControlY2
StartX
StartY
EndX
EndY
ArcWidth
ArcHeight
L
ineSpacing
X
Y