Skip to main content
Question

How can I access GradientPaint.gradientHandlePositions in TypeScript?

  • January 11, 2026
  • 0 replies
  • 7 views

josh.noble

The “Widget” developer documentation contains a description of the “gradientHandlePositions” property of the GradientPaint interface:

https://developers.figma.com/docs/widgets/api/type-GradientPaint/

 

Is there an equivalent property in the “Plugin” API that would allow me to get the angle of a gradient that has been applied to a particular Rectangle?

 

Thanks! :)