dontResize

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the dontResize of <graphic> to {true | false}
Associationsgraphic
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the dontResize of graphic 12 to true
Values
NameTypeDescription
Value

The dontResize of a graphic is true or false. By default, the dontResize property of newly created graphics is set to false.

RelatedKeyword: polygon, graphic
Property: points, style, relativePoints
Command: drag
Object: graphic
Glossary: vertex, property
Description

Use the dontResize property to automatically resize and reposition a graphic 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 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 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.

Tagsui