|
ShiftShape | |
ShiftShape ShapeIndex, Xoffset#, Yoffset# | |
Parameters: ShapeIndex = The Index of the shape you wish to shift Xoffset# = The amount to add to the X coords Yoffset# = The amount to add to the Y coords |
|
Returns: NONE | |
ShiftShape shifts the vertex within a shape a required distance. it works by simply adding the X & Y Offset values to each vertex X & Y positions within the shape. FACTS: * When a shape is shifted, the ShiftShape command changes the original vertex values. Mini Tutorial: This example creates a convex shape, shifts the vertex, then rotates and draws it.
This example outputs, |
Related Info: | DrawShape | RotateShape | RotateShapeXY | ScaleShape | ScaleShapeXY : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |