Skip to main content
Language

Configure Border Frames

PhotoEditor SDK supports several configuration options for the FrameToolController allowing flexible adaptation to different needs and use cases. For a detailed explanation of how to configure different editor views, refer to this guide.

rotationEnabled#

By default, the editor does not allow to rotate the image in the frame tool by using the rotation gestures. For this example, this behavior is enabled.

allowedFrameActions#

Configuring the FrameOptionsToolController allows changing how users can interact with a given frame. The actions users can perform are configured via the allowedFrameActions property. In our example, we remove the option to change the frame width (.width) and only allow replacing it and changing its opacity.