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


Back to Table of Contents

Copyright © 2002-2018 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. Click for license .