centered

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the centered to {true | false}
Summary

Specifies whether objects are drawn from the center to the edge, or from corner to corner.

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

The centered is true or false. By default, the centered is set to false.

RelatedKeyword: point
Property: powerKeys, slices, multiple, gridSize
Function: tool
Glossary: object, property, Pointer tool, handle
Description

Use the centered property to change the way objects are drawn when they are created with the object's tool, and to change how objects are resized.

If the centered property is set to true, when the user creates an object by clicking and dragging with the appropriate tool, the first point clicked is the center of the object, and the user drags to an edge to complete the object.

If the centered is false, the first point clicked is a corner, and the user drags to the opposite corner to complete the object.

The centered also affects how objects are resized with the Pointer tool. If the centered is true, dragging a handle at the corner or side of an object resizes the object symmetrically, so its center remains in the same place. If the centered is false, dragging a corner or side moves only that corner or side.

Tagsui