Skip to main content
Version: Alpha 1

Flip

Flips an object 'horizontally' or 'vertically' around its own center.

Usage

The Flip modifier is used with the SET keyword. It accepts a single direction as a parameter.

Accepted Values

ValueDescription
'horizontal'Flips the object across a vertical line through its center.
'vertical'Flips the object across a horizontal line through its center.

Example

// Create a line and then flip it horizontally
Line(x: 10, y: 20, x2: 80, y2: 50) SET Flip('horizontal')