|
For a line,you need to enter the starting and ending coordinates.For all of these examples,think of the first number as the distance fom the top left corner over to the right and the second number from the top of the image down.For the line here,I entered 10,10 30,30.This places one end 10 pixels over and 10 down and runs from 30 pixels over to 30 pixels down.
For rectangles,you enter the coordinates to the upper left corner and to the lower right corner.I entered 50,50 80,80 for the rectangle.For the fill rectangle,I used 120,50 180,10.
Circles are a little different.You enter the coordinates for the center,then the distance from te outer edge.I back off from the center coordinates by the amount I want the circle to be.The circle is 240,50 210,30.The fill circle is 50,140 20,120.
|
|
For an elipseYou enter the center coordinates(over from left and down fom top),the height and width,and start and end of arc in degrees.For the elipse,I used 120,80 50,30 0,360.This places the center 120 over,80 down,50 wide,30 high,and 0-360 makes it a complete circle.The Fill elipse is 200,180 20,60 0,360
Poligons are are multi-sided images.Think of this as playing connect the dots.You are entering the coordinates of the dots.I start at the top left and work my way around clockwise in entering the cordiates.Mke sure your last one is the same as your first in order to close the poligon.On the triangle,I used 50,200 70,250 30,250 50,200.On the octagon,I made the lines 30 in length and for the angled portions I moved 15 over and 15 down (or up) to make a 45 degree angle.I used 120,220 150,220 165,235 165,265 150,280 120,280 105,265 105,235 120,220.
|