Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
2,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:294226
 
Author:
Evaluation:
Published: 17.06.2020.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Time period viewed: 2016 - 2020 years
Extract

2. Programmas kods
package javaapplication5;
import java.util.Random;
import java.awt.Graphics;
import java.awt.Color;
class CP {
public static int[] x = new int[6]; // kontro;punktu skaits 6
public static int[] y = new int[6];
public static double[] B = new double[6];
}

public void Bezier() {
Graphics g = jPanel1.getGraphics();
g.setColor(Color.white);
g.fillRect(0, 0, jPanel1.getWidth(), jPanel1.getHeight());

for ( int i=0; i<6; i++) {
g.setColor(Color.red);
g.drawOval(CP.x[i]-2, CP.y[i]-2, 4, 4);
g.setColor(Color.black);
g.drawString(String.valueOf(i+1), CP.x[i]-6, CP.y[i]-6);
}
double t=0;
while (t<1) {

Author's comment
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register