8. import javafx.scene.canvas.GraphicsContext;.

Added on - 22 Sep 2019

Trusted by 2+ million users,
1000+ happy students everyday
Showing pages 1 to 1 of 3 pages
1import javafx.scene.canvas.GraphicsContext;import javafx.scene.paint.Color;/**** This class creates white door(rectangular) for the house.* The user can change height and location of the door.* The width of door is half the height of door.* @author user_name**/public class Door {/** top left corner x coordinate of door **/private double x;/** top left corner y coordinate of door **/
Desklib Logo
You are reading a preview
Upload your documents to download or

Become a Desklib member to get access