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

Added on - 22 Sep 2019

  • 3

    pages

  • 218

    words

  • 190

    views

  • 0

    downloads

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’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Download This Document