offset

fun offset(offsetX: Number, offsetY: Number)

Adds an offset to this ComponentView's Position.

Parameters

offsetX

Offset for the X coordinate.

offsetY

Offset for the Y coordinate.