DrawStar

Syntax:

DrawStar( PosX, PosY, Width, Height, Points )

Parameters:

PosX – X coordinate of the top left of the bounding rectangle containing the star. This parameter is required.

PosY – Y coordinate of the top left of the bounding rectangle containing the star. This parameter is required.

Width – Width of the bounding rectangle containing the star. This parameter is required.

Height – Height of the bounding rectangle containing the star. This parameter is required.

Points – The number of points the star will have. The range is from 2 to 100. This parameter is required.

Note:
All positions are in untransformed page coordinates. To avoid making your calculations too complex we strongly advise using untransformed (i.e. not rotated or scaled) frames when using the drawing functions.

Remarks:

This function allows round cornered rectangular shapes to be drawn into a frame object.

Note:
All lines and shapes added to any individual frame are created as part of a single contour (this is a single continuous line). Adding intersecting shapes will produce gaps in the shape. To draw multiple independent shapes, use multiple frame objects.

image\Script_Button.jpgExamples