Search results

ShapeSettings API in JavaScript (ES5) Image Editor API control

Interface for ShapeSettings in the Image Editor.

Properties

color

string

Returns the font color of the text.

degree

number

Returns the degree of rotated shape.

fillColor

string

Returns the fill color of the shape.

fontFamily

string

Returns the font family of the text.

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.

imageData

string | ImageData

Returns the imageData of the image annotation.

length

number

Returns the length of the line or arrow 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.