ImageEn, unit iexLayers

TIEShapeLayer.ShapeModifier

TIEShapeLayer.ShapeModifier


Declaration

property ShapeModifier: Integer;


Description

Changes the display of certain shapes.
Shape Effect Range Default
iesCustomShape Number of sides of the shape 3 - 50 10
iesCustomStar Number of points of the star 3 - 50 10
iesCustomExplosion Number of points of the explosion 3 - 5012
iesEllipseSegment Width of the ellipse segment (in degrees) 1 - 90 45
iesCustomCog Number of teeth of the cog 3 - 72 12
iesCustomAsterisk Number of points of the asterisk 3 - 72 12
iesCustomFlower Number of petals of the flower 3 - 72 12
iesCustomRadiance Number of rays 3 - 72 12
iesCustomRadiance2 Number of rays 3 - 72 12

Default: 0 (uses the default for that shape)


Example

// Append a 12-pointed star layer
ImageEnView1.LayersAdd( ielkShape );
TIEShapeLayer( ImageEnView1.CurrentLayer ).Shape := iesCustomStar;
TIEShapeLayer( ImageEnView1.CurrentLayer ).ShapeModifier := 12;
ImageEnView1.Update();

// Append a 30 point explosion layer
ImageEnView1.LayersAdd( ielkShape );
TIEShapeLayer( ImageEnView1.CurrentLayer ).Shape := iesCustomExplosion;
TIEShapeLayer( ImageEnView1.CurrentLayer ).ShapeModifier := 30;
ImageEnView1.Update();




See Also

Shape
Shapes_Supporting_Modifier
AutoCurving