logo

/repo|v3.15.3

Typedef

ObjectProps:

object

PROPERTIES
NameTypeDescription

id

number

object id

type

string

object type

text

string

text content

left

stringnumber

Left

top

stringnumber

Top

width

stringnumber

Width

height

stringnumber

Height

fill

string

Color

stroke

string

Stroke

strokeWidth

stringnumber

StrokeWidth

fontFamily

string

Font type for text

fontSize

number

Font Size

fontStyle

string

Type of inclination (normal / italic)

fontWeight

string

Type of thicker or thinner looking (normal / bold)

textAlign

string

Type of text align (left / center / right)

textDecoration

string

Type of line (underline / line-through / overline)

Resizable