AllowTabs

Curvature

A property of a shape that describes how rounded its corners are, from square to circle.

Usage

shpShape.Curvature = nCurves nCurves = shpShape.Curvature

Parameter

Value

Meaning

nCurves

0

No curvature; right-angle corners form a square or rectangle.

1 through 98

Increasing curvature, forming ovals.

99

Ultimate curvature, forming a circle or ellipse.


Curvature can be used to dynamically change the shape of the object as conditions change. We haven't found a lot of use for this in our data-based applications, but it can be used for great special effects.

Example

frmForm1.shpShape1.Curvature = 99   && draws a circle,                                      && if height=width

See Also

FillColor, FillStyle, Height, Shape, Width


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net