PathOperationRotate

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
rotate <mPath> by <mRotation>
Associationscom.livecode.canvas
Summary

Apply a rotation to a path.

Parameters
NameTypeDescription
mRotation

An expression which evaluates to a number.

mPath

An expression which evaluates to a path.

Example
// Create a rectangle path
variable tPath as Path
put rectangle path of rectangle [10,10,210,60] into tPath

// Rotate the path
rotate tPath by 45
Description

Rotates mPath by mRotation degrees.

Tagscanvas