Whatever message this page gives is out now! Go check it out!
ImageShearDrawingAxis(name, shx, shy)Parameter | Description |
name | Required. The ColdFusion image on which this operation is performed. |
shx | Required. The multiplier by which coordinates are shifted in the positive x axis direction as a function of the y coordinate. |
shy | Required. the multiplier by which coordinates are shifted in the positive y axis direction as a function of the x coordinate. |
<cfimage source="../cfdocs/images/artgallery/paul03.jpg" name="myImage">
<!--- Turn on antialiasing to improve image quality. --->
<cfset ImageSetAntialiasing(myImage,"on")>
<!--- Set the shear drawing axis. --->
<cfset ImageShearDrawingAxis(myImage,0.5,0.5)>
<!--- Draw a rectangle on the image with the shear settings. --->
<cfset ImageDrawRect(myImage,50,50,50,50)>
<!--- Display the image in a browser. --->
<cfimage source="#myImage#" action="writeToBrowser">