NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

package Torres.Gustavo;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Arc;
import javafx.scene.shape.ArcType;
import javafx.scene.shape.Circle;
import javafx.scene.shape.Ellipse;
import javafx.scene.shape.FillRule;
import javafx.scene.shape.Line;
import javafx.scene.shape.MoveTo;
import javafx.scene.shape.Path;
import javafx.scene.shape.Polyline;
import javafx.scene.shape.QuadCurveTo;
import javafx.scene.shape.Rectangle;
import javafx.scene.text.Font;
import javafx.scene.text.FontPosture;
import javafx.scene.text.FontWeight;
import javafx.stage.Stage;

public class Chibomon extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
Pane pane = new Pane();

// createRectangle(pane);
// createHead(pane);
// createBody(pane);
// createEyes(pane);
// createMouth(pane);

//Second digimon
createHead2(pane);
createEars(pane);
createTail(pane);
createArms(pane);
createFeet(pane);
createStomach(pane);
createEyes2(pane);
createMouth2(pane);
signature(pane);

Scene scene = new Scene(pane, 1000, 800);
primaryStage.setScene(scene);
primaryStage.setTitle("Chibomon");
primaryStage.show();

}
public static void main(String[] args) {
Application.launch(args);
//shade color (114, 155, 182)
}

public static void createMouth(Pane pane) {
Path leftMouth = new Path();

MoveTo moveTo1 = new MoveTo(140, 300);

QuadCurveTo curveTo1 = new QuadCurveTo(180, 350, 190, 320);

leftMouth.getElements().addAll(moveTo1, curveTo1);
leftMouth.setStrokeWidth(2);

Path rightMouth = new Path();

MoveTo moveTo2 = new MoveTo(curveTo1.getX(), curveTo1.getY());

QuadCurveTo curveTo2 = new QuadCurveTo(230, 355, 280, 300);



rightMouth.getElements().addAll(moveTo2, curveTo2);
rightMouth.setStrokeWidth(2);

pane.getChildren().add(leftMouth);
pane.getChildren().add(rightMouth);
}

public static void createEyes(Pane pane) {

Arc eyeColor = new Arc(120, 250, 17, 30, 0, 200);
eyeColor.setFill(Color.rgb(202, 124, 155));
eyeColor.setType(ArcType.OPEN);
pane.getChildren().add(eyeColor);

Ellipse leftEye = new Ellipse(120, 250, 17, 20);
pane.getChildren().add(leftEye);

Ellipse shine = new Ellipse(117, 228, 7, 8);
shine.setFill(Color.ANTIQUEWHITE);
pane.getChildren().add(shine);


Circle rightEye = new Circle(300, 250, 30);
rightEye.setFill(Color.rgb(202, 124, 155));
pane.getChildren().add(rightEye);

Circle rightPupil = new Circle(300, 258, 27);
pane.getChildren().add(rightPupil);


Circle rightShine = new Circle(292, 235, 13);
rightShine.setFill(Color.ANTIQUEWHITE);
pane.getChildren().add(rightShine);
}

public static void createBody(Pane pane) {

Ellipse body = new Ellipse(250, 250, 185, 150);
body.setFill(Color.rgb(168, 198, 224));
body.setStroke(Color.BLACK);
body.setStrokeWidth(2);
//123, 166, 219
pane.getChildren().add(body);
}

public static void createHead(Pane pane) {
Path topOfHead = new Path();

MoveTo moveTo = new MoveTo(200, 105);

QuadCurveTo qcTo = new QuadCurveTo(290, -40, 435, 150);

topOfHead.getElements().addAll(moveTo, qcTo);
topOfHead.setFill(Color.rgb(168, 198, 224));
topOfHead.setStrokeWidth(2);
pane.getChildren().add(topOfHead);

Polyline headTail = new Polyline();
headTail.getPoints().addAll(435.0, 150.0, 490.0, 130.0, 430.0, 220.0);
headTail.setFill(Color.rgb(168, 198, 224));
headTail.setStrokeWidth(2);
pane.getChildren().add(headTail);
}

public static void createRectangle(Pane pane) {
Rectangle rect = new Rectangle(370, 143, 66, 80);
rect.setRotate(12);
rect.setFill(Color.rgb(168, 198, 224));
pane.getChildren().add(rect);
}

//Second Digimon
public static void createHead2(Pane pane) {
Ellipse head = new Ellipse(700, 400, 185, 150);
head.setRotate(-5);
head.setFill(Color.WHITE);
head.setStroke(Color.BLACK);
head.setStrokeWidth(2);
pane.getChildren().add(head);
}

public static void createEars(Pane pane) {
Polyline rightEar = new Polyline();
rightEar.getPoints().addAll(750.0, 253.0, 865.0, 150.0, 920.0, 210.0);
rightEar.setStroke(Color.BLACK);
rightEar.setStrokeWidth(2);
Path ear = new Path();
MoveTo moveTo = new MoveTo(905, 193);
QuadCurveTo qct = new QuadCurveTo(900, 183, 960, 150);

MoveTo line2 = new MoveTo(960, 150);
QuadCurveTo qct2 = new QuadCurveTo(945, 210, 920, 243);
ear.setStroke(Color.BLACK);
ear.setStrokeWidth(2);
Polyline line3 = new Polyline(844.0, 300.0, 880.0, 243.0, 920.0, 243.0);
line3.setStroke(Color.BLACK);
line3.setStrokeWidth(2);
ear.getElements().addAll(moveTo, qct, line2, qct2);

Polyline leftEar = new Polyline();
leftEar.getPoints().addAll(650.0, 254.0, 550.0, 160.0, 475.0, 260.0, 410.0, 290.0);
leftEar.setStroke(Color.BLACK);
leftEar.setStrokeWidth(2);

Path botOfEar = new Path();
MoveTo moveTo3 = new MoveTo(410.0, 290.0);
QuadCurveTo qct3 = new QuadCurveTo(420, 315, 480, 315);
botOfEar.getElements().addAll(moveTo3, qct3);
botOfEar.setStroke(Color.BLACK);
botOfEar.setStrokeWidth(2);

Line restOfEar = new Line(480, 315, 520, 270);
restOfEar.setStroke(Color.BLACK);
restOfEar.setStrokeWidth(2);
Line base = new Line(520, 270, 590, 280);
base.setStroke(Color.BLACK);
base.setStrokeWidth(2);
pane.getChildren().addAll(rightEar, ear, line3, leftEar, botOfEar, restOfEar, base);
}
public static void createArms(Pane pane) {
Path rightArm = new Path();
MoveTo moveTo = new MoveTo(830, 500);
QuadCurveTo qct = new QuadCurveTo(920, 475, 800, 575);

rightArm.getElements().addAll(moveTo, qct);
rightArm.setStroke(Color.BLACK);
rightArm.setStrokeWidth(2);

Path leftArm = new Path();
MoveTo moveTo2 = new MoveTo(600, 530);
QuadCurveTo qct2 = new QuadCurveTo(430, 590, 600, 585);

leftArm.getElements().addAll(moveTo2, qct2);
leftArm.setStroke(Color.BLACK);
leftArm.setStrokeWidth(2);
pane.getChildren().addAll(rightArm, leftArm);
}

public static void createFeet(Pane pane) {
// Line leg = new Line(600, 565, 600, 625);
Path leftSide = new Path();
MoveTo moveTo = new MoveTo(605, 565);
QuadCurveTo qct = new QuadCurveTo(595, 595, 605, 615);

leftSide.getElements().addAll(moveTo, qct);
leftSide.setStroke(Color.BLACK);
leftSide.setStrokeWidth(2);
Path leftThigh = new Path();
MoveTo moveTo2 = new MoveTo(605, 615);
QuadCurveTo qct2 = new QuadCurveTo(540, 673, 640, 690);

leftThigh.getElements().addAll(moveTo2, qct2);
leftThigh.setStroke(Color.BLACK);
leftThigh.setStrokeWidth(2);
Path leftFoot = new Path();
MoveTo moveTo3 = new MoveTo(610, 685);
QuadCurveTo qct3 = new QuadCurveTo(550, 800, 700, 685);

leftFoot.getElements().addAll(moveTo3, qct3);
leftFoot.setStroke(Color.BLACK);
leftFoot.setStrokeWidth(2);
pane.getChildren().addAll(leftSide, leftThigh, leftFoot);

Path rightSide = new Path();
MoveTo rightMoveTo = new MoveTo(795, 555);
QuadCurveTo rqct = new QuadCurveTo(805, 570, 795, 580);

rightSide.getElements().addAll(rightMoveTo, rqct);
rightSide.setStroke(Color.BLACK);
rightSide.setStrokeWidth(2);

Path rightThigh = new Path();
MoveTo moveTo4 = new MoveTo(812, 565);
QuadCurveTo rightqct2 = new QuadCurveTo(850, 555, 855, 580);
rightThigh.getElements().addAll(moveTo4, rightqct2);
rightThigh.setStroke(Color.BLACK);
rightThigh.setStrokeWidth(2);

Path rightFoot = new Path();
MoveTo moveTo5 = new MoveTo(805, 635);//432
QuadCurveTo rightqct3 = new QuadCurveTo(930, 490, 890, 645);
rightFoot.getElements().addAll(moveTo5, rightqct3);
rightFoot.setStroke(Color.BLACK);
rightFoot.setStrokeWidth(2);

Path botOfRightFoot = new Path();
MoveTo moveTo6 = new MoveTo(890, 645);
QuadCurveTo qct4 = new QuadCurveTo(850, 750, 780, 670);
botOfRightFoot.getElements().addAll(moveTo6, qct4);
botOfRightFoot.setStroke(Color.BLACK);
botOfRightFoot.setStrokeWidth(2);

pane.getChildren().addAll(rightSide, rightThigh, rightFoot, botOfRightFoot);
}

public static void createStomach(Pane pane) {
Path rightOfStomach = new Path();
MoveTo moveTo = new MoveTo(780, 536);
QuadCurveTo qct = new QuadCurveTo(800, 597.5, 780, 670);
rightOfStomach.getElements().addAll(moveTo, qct);
rightOfStomach.setStroke(Color.BLACK);
rightOfStomach.setStrokeWidth(2);

Path bottomOfStomach = new Path();
MoveTo moveTo2 = new MoveTo(780, 670);
QuadCurveTo qct2 = new QuadCurveTo(730, 700, 635, 670);

bottomOfStomach.getElements().addAll(moveTo2, qct2);
bottomOfStomach.setStroke(Color.BLACK);
bottomOfStomach.setStrokeWidth(2);


Path leftOfStomach = new Path();
MoveTo moveTo3 = new MoveTo(635, 670);
QuadCurveTo qct3 = new QuadCurveTo(615, 603, 635, 543);
leftOfStomach.getElements().addAll(moveTo3, qct3);
leftOfStomach.setStroke(Color.BLACK);
leftOfStomach.setStrokeWidth(2);

pane.getChildren().addAll(rightOfStomach, bottomOfStomach, leftOfStomach);
}

public static void createEyes2(Pane pane) {
Path rightEye = new Path();
MoveTo moveTo = new MoveTo(745, 400);
QuadCurveTo qct = new QuadCurveTo(800, 300, 840, 390);

Path leftEye = new Path();
MoveTo moveTo2 = new MoveTo(655, 400);
QuadCurveTo qct2 = new QuadCurveTo(590, 300, 560, 390);

leftEye.getElements().addAll(moveTo2, qct2);
leftEye.setStroke(Color.BLACK);
leftEye.setStrokeWidth(5);
rightEye.getElements().addAll(moveTo, qct);
rightEye.setStroke(Color.BLACK);
rightEye.setStrokeWidth(5);
pane.getChildren().addAll(rightEye, leftEye);
}

public static void createMouth2(Pane pane) {
Path leftMouth = new Path();
MoveTo moveTo = new MoveTo(605, 450);
QuadCurveTo qct = new QuadCurveTo(610, 520, 700, 460);
leftMouth.setStroke(Color.BLACK);
leftMouth.setStrokeWidth(2);

Path rightMouth = new Path();
MoveTo moveTo2 = new MoveTo(805, 440);
QuadCurveTo qct2 = new QuadCurveTo(820, 510, 700, 460);
rightMouth.setStroke(Color.BLACK);
rightMouth.setStrokeWidth(2);

leftMouth.getElements().addAll(moveTo, qct);
rightMouth.getElements().addAll(moveTo2, qct2);

Path mouth = new Path();
MoveTo moveTo3 = new MoveTo(660, 482);
QuadCurveTo qct3 = new QuadCurveTo(710, 550, 740, 475);

mouth.getElements().addAll(moveTo3, qct3);
mouth.setStroke(Color.BLACK);
mouth.setStrokeWidth(2);

Path tongue = new Path();
MoveTo moveTo4 = new MoveTo(675, 500);
QuadCurveTo qct4 = new QuadCurveTo(700, 470, 725, 500);
tongue.getElements().addAll(moveTo4, qct4);
tongue.setStroke(Color.BLACK);
tongue.setStrokeWidth(2);
pane.getChildren().addAll(leftMouth, rightMouth, mouth, tongue);
}
public static void createTail(Pane pane) {
Path tailPart = new Path();
MoveTo moveTo = new MoveTo(590, 630);
QuadCurveTo qct = new QuadCurveTo(510, 585, 500, 520);
tailPart.getElements().addAll(moveTo, qct);
tailPart.setStroke(Color.BLACK);
tailPart.setStrokeWidth(2);

Path tailPart2 = new Path();
MoveTo moveTo2 = new MoveTo(500, 520);
QuadCurveTo qct2 = new QuadCurveTo(475, 545, 430, 555);
tailPart2.getElements().addAll(moveTo2, qct2);
tailPart2.setStroke(Color.BLACK);
tailPart2.setStrokeWidth(2);

Path tailPart3 = new Path();
MoveTo moveTo3 = new MoveTo(430, 555);
QuadCurveTo qct3 = new QuadCurveTo(465, 480, 535, 470);
tailPart3.getElements().addAll(moveTo3, qct3);
tailPart3.setStroke(Color.BLACK);
tailPart3.setStrokeWidth(2);
tailPart3.setFillRule(FillRule.valueOf(""));
pane.getChildren().addAll(tailPart, tailPart2, tailPart3);
}
public static void signature(Pane pane) {
Label fullName = new Label("Gustavo Torres");
Font font1 = Font.font("Verdana", FontWeight.BLACK, FontPosture.REGULAR, 50);

fullName.setFont(font1);
pane.getChildren().add(fullName);
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.