Question #104773

draw a trapezoid

Expert's answer

javaFx

static Group drawTrapezoid(){

Line up = new Line(100,100,300,100);

Line bottom = new Line(80,400,320,400);

Line left = new Line(100,100,80,400);

Line right = new Line(300,100,320,400);

return new Group(up,left,right,bottom);

}



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS