Question
javafx.scene.layout.Pane;import javafx.scene.shape.Polygon;import javafx.scene.text.Text;import this is the code. import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.shape.Polygon; import javafx.scene.text.Text; import javafx.scene.paint.Color; public class HollywoodStar extends
javafx.scene.layout.Pane;import javafx.scene.shape.Polygon;import javafx.scene.text.Text;import
this is the code.
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.shape.Polygon;
import javafx.scene.text.Text;
import javafx.scene.paint.Color;
public class HollywoodStar extends Application
{
public static void main(String[] args)
{
launch(args);
}
@Override
public void start(Stage primaryStage)
{
// Constants for the scene size
final double SCENE_WIDTH = 100.0;
final double SCENE_HEIGHT = 100.0;
// Constants for the drawing.
final double X1 = 50;
final double Y1 = 1;
final double X2 = 20;
final double Y2 = 91;
final double X3 = 97;
final double Y3 = 35;
final double X4 = 2;
final double Y4 = 35;
final double X5 = 79;
final double Y5 = 91;
final double TEXT_X = 28;
final double TEXT_Y = 50;
}
}
AutoSave OFF IC6_instructions-Saved Home Insert Draw Design Layout References Mailings Review View Tell me Share Comments Times New... 12 v A A Aa v P T Paste BI Uab x A DA AaBbCcDdE Normal AaBbCcDdE AaBbCcDc AaBbCcDdE. AaBb( No Spacing Heading 1 Heading 2 Title Styles Pane Dictate Sensitivity Programming Challenge number 3, Hollywood Star, page 995 in the textbook. Download the starter file and use it to put your code in. It already has all of the imports and variables that you will need for the vertices and for setting the size of the scene. It should look like this: Jasmine Page 1 of 1 52 words English (United States) Focus + 150%
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started