APIs

Show:
Extends fabric.Text
Module: Classes

IText class (introduced in v1.4) Events are also fired with "text:" prefix when observing canvas.

Item Index

Methods

Methods

toObject

(
  • [propertiesToInclude]
)
Object

Returns object representation of an instance

Parameters:

  • [propertiesToInclude] Array optional

    Any properties that you might want to additionally include in the output

Returns:

Object:

object representation of an instance