GraphicsContext(FX) vs Api2D

I’ve been hearing a lot that JavaFX is faster that 2D, however I would like to know what are the advantajes that graphicscontext have against Api2D?