public void scale(double scaleX, double scaleY) {
Transform transform = new Transform(gc.getDevice());
Transform transform2 = new Transform(gc.getDevice());
gc.getTransform(transform);
transform2.scale((float) scaleX, (float) scaleY);
transform.multiply(transform2);
gc.setTransform(transform);
}
public void bezierVertex(double cx1, double cy1, double cx2, double cy2,