Search results

FrameSettings API in React Image Editor API component

Interface for a class FrameSettings

Properties

borderRadius

number

Specifies the radius value for line-type frame. A number value that specifies the border radius of the frame as a percentage. The border radius controls the curvature of the frame’s corners or edges.

color

string

Specifies the color of a frame. A string value specifying the color of the frame. The color can be provided in various formats, including named colors (“red”, “blue”) and hexadecimal notation.

frameLineStyle

FrameLineStyle

Specifies the type of line to be drawn for line-type frame. A FrameLineStyle enumeration value that specifies the type of line to be applied as a frame.

gradientColor

string

Specifies the color of a frame. A string value specifying the gradient color of the frame. The color can be provided in various formats, including named colors (“red”, “blue”) and hexadecimal notation.

inset

number

Specifies the inset value of a frame. A number value specifying the inset of the frame as a percentage. The inset value determines how far the frame is drawn inside the image boundaries.

lineCount

number

Specifies the number of lines to be drawn for line-type frame.

offset

number

Specifies the offset value of a frame. A number value specifying the inset of the frame as a percentage. The inset value determines how far the frame is drawn inside the image boundaries.

size

number

Specifies the size of a frame. A number value specifying the size of the frame as a percentage. The size value indicates how much of the image’s dimensions the frame occupies.

type

FrameType

Specifies the frame option such as None, Mat, Bevel, Line, Inset, and Hook.