Whatever message this page gives is out now! Go check it out!
ImageDrawArc(name, x, y, width, height, startAngle, arcAngle [, filled])Parameter | Description |
name | Required. The ColdFusion image on which this operation is performed. |
x | Required. The x coordinate of the upper-left corner of the arc. |
y | Required. The y coordinate of the upper-left corner of the arc. |
width | Required. The width of the arc. |
height | Required. The height of the arc. |
startAngle | Required. The beginning angle in degrees. |
arcAngle | Required. The angular extent of the arc, relative to the start angle. |
filled | Optional. Specify whether the arc is filled:
|
<!--- This example shows how to use the ImageNew function to create a blank
ColdFusion image that is 250 pixels wide and 180 pixels high. --->
<cfset myImage=ImageNew("",250,320)>
<!--- Set the drawing color for the arc to orange. --->
<cfset ImageSetDrawingColor(myImage,"orange")>
<!--- Turn on antialiasing to improve image quality. --->
<cfset ImageSetAntialiasing(myImage,"on")>
<!--- Draw an enclosed orange arc starting at the coordinate (5,5). --->
<cfset ImageDrawArc(myImage,5,5,200,300,100,100,"yes")>
<!--- Display the image in a browser. --->
<cfimage action="writeToBrowser" source="#myImage#">