|
ScaleShapeXY | ||
ScaleShapeXY ShapeIndex, ScalerX#, ScalerY# | ||
Parameters: ShapeIndex = The Index of the shape you wish to rotate ScalerX# = The amount to scale this shapes X axis by ScalerY# = The amount to scale this shapesYX axis by |
||
Returns: NONE | ||
ScaleShapeXY permanently scales a shapes vertex. The command simply runs through all the shapes vertex and multiplies the X coordinates with ScalerX# and Y coordinates with ScalerY# values you provide. This is not to be confusing with the dynamic scaling that can be applied during rotation (See RotateShape), where such scaling only affects the rotated vertex and not the original vertex. FACTS: * ScaleShape changes the original vertex of the shape. Mini Tutorial: This example creates a convex shape, then draws it, will allowing the use the scale the shape, in or out.
This example would output.
|
Related Info: | DrawShape | RotateShape | RotateShapeXY | ScaleShape : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |