Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+28 votes

we're able to make our canvas and the pane that wraps the canvas to have the same width and height by:

videoCanvas.widthProperty().bind(paneHoldingVideoCanvas.widthProperty());
videoCanvas.heightProperty().bind(paneHoldingVideoCanvas.heightProperty());
videoCanvas.widthProperty().addListener((obs, oldV, newV) -> repaintCanvas());
videoCanvas.heightProperty().addListener((obs, oldV, newV) -> repaintCanvas());

but they dont have the same start point, so basically they are not completely in the same place. What should we do now?

asked in CSC285_Fall2018 by (1 point)

1 Answer

+8 votes

If you used a StackPane to place your canvas and ImageView objects, then I think these previous to Q&As would help? Sorry if this isn't what you meant.

http://lovelace.augustana.edu/q2a/index.php/248/how-to-draw-points-display-them-on-the-video

and resizing help,

http://lovelace.augustana.edu/q2a/index.php/246/there-properties-the-video-resize-the-imageview-the-canvas

answered by (1 point)
...