Skip to content

Latest commit

 

History

History
62 lines (55 loc) · 1.47 KB

File metadata and controls

62 lines (55 loc) · 1.47 KB

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