y([y])
Class: Rectangle. Method inherited from Shape.
Description:
Sets or gets Y position of the shape relative to top edge of its parent component (for Window parent component gets Y position from the top of content area).
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Y position integer. |
Returns:
If called without arguments, current Y position is returned; otherwise this shape is returned for method chaining.
Type: number | this
