Search results

ShapeSettings API in React Image Editor API component

Interface for ShapeSettings in the imageEditor.

Properties

color

string

Returns the font color of the text.

fillColor

string

Returns the fill color of the shape.

fontSize

number

Returns the font size of the text.

fontStyle

string[]

Returns the font style of the text.

height

number

Returns the height of the shape.

id

string

Returns the id of the shape.

length

number

Returns the length of the line shape.

points

Point[]

Returns the points collection of freehand drawing.

radius

number

Returns the radius of the ellipse shape.

startX

number

Returns the start x position of the shape.

startY

number

Returns the start y position of the shape.

strokeColor

string

Returns the stroke color of the shape.

strokeWidth

number

Returns the stroke width of the shape.

text

string

Returns the text content of the text.

type

ShapeType

Returns the type of the shape.

width

number

Returns the width of the shape.