This operation calculates the width and height of the given selected element.
It assigns this struct to the dimensions property on the current operation data.
Optionally the width and height can be modified using the given modifier string.
The modifier string is formatted in the following way:
|
Where the ratio modifier is formatted in the following way:
[ar=-]
For example, this modifier '+100h|w[ar=8-1]' will modifiy the dimensions like this:
it will add a value of 100 to the height and modify the width by a ration of 8 to 1 relative to the height.
This operation calculates the width and height of the given selected element. It assigns this struct to the dimensions property on the current operation data. Optionally the width and height can be modified using the given modifier string.
The modifier string is formatted in the following way:
Where the ratio modifier is formatted in the following way:[ar=-]
For example, this modifier '+100h|w[ar=8-1]' will modifiy the dimensions like this: it will add a value of 100 to the height and modify the width by a ration of 8 to 1 relative to the height.