NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

package Torres.Gustavo;

import javafx.application.Application;
import javafx.scene.Scene;
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.MoveTo;
import javafx.scene.shape.Path;
import javafx.scene.shape.Polyline;
import javafx.scene.shape.QuadCurveTo;
import javafx.scene.shape.Rectangle;
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);

Scene scene = new Scene(pane, 500, 500);

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, 200, 315);

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);
}
}
     
 
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.