Livecode Wiki
Advertisement

Specifies whether an irregular polygon graphic is resized when its vertexes are changed.Syntax:

set the dontResize of <graphic> to {true | false}

Examples:

set the dontResize of graphic 12 to true

Use the dontResize property to automatically resize and reposition a graphic(keyword) when you set its points property.

You can reshape a graphic whose style property is set to polygon by changing its points or relativePoints property.

If you change the graphic's points or relativePoints property, and the graphic's dontResize property is set to false, the graphic(keyword) is resized and repositioned if necessary to accommodate the new shape.

If you change the points or relativePoints and the dontResize is false, the graphic(keyword) is not resized to fit the new set of vertexes. This may result in parts of the shape being cut off at the boundaries of the graphic(keyword).

See also: graphic (object),points (property),style (property),relativePoints (property),

Advertisement