.X and .Y
The X or the Y of a position.
Syntax
p.X
p.Y
.X
.Y
| Argument | Meaning |
|---|---|
| p | A position (a point, [x,y], or an expression that gives one). |
Result
A number.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
P2.X |
500 |
P2.Y |
300 |
(P2-P1).Y |
300 |
.X |
0 |
Notes
.X and .Y on their own are the X and Y of the current point (#CP).