Parameters
The offset configuration.
Offsets this view by the specified distance.
.offset(offset: { x?: number; y?: number }): Component;
Text("Moved right")
.offset({ x: 20 })
Circle()
.fill(Color("red"))
.offset({ y: -10 })
Rectangle()
.fill(Color("blue"))
.offset({ x: 15, y: 25 })