Parameters
The scale configuration. Can be a number for uniform scaling or an object for detailed control.
Scales this view by the specified amount.
.scaleEffect(scale: { x?: number; y?: number, anchor?: UnitPoint } | number): Component;
Text("Scaled text")
.scaleEffect(1.5)
Rectangle()
.fill(Color("blue"))
.scaleEffect({ x: 2, y: 0.5 })
Circle()
.fill(Color("red"))
.scaleEffect({ x: 1.2, y: 1.2, anchor: "topLeading" })