java - JavaFX- Don't scale image for stage icon? -
i setting image stage becomes logo javafx application.
stage.geticons().add(new image("mylogo.png"));
however, image gets scaled , stretched horizontally since not @ ratio likes.
is there way can manipulate image centered in placement, or add margins matches expected ratio?
i don't want create whole new image if can it.
Comments
Post a Comment