简体   繁体   中英

What are all the possible types of fabricjs objects?

Looking through TS definition here I still can't seem to find all the possible types of fabric objects, I can't find a list of types on fabricJS documentation page either: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/06aceea74ca33b2217dcd9f5c53fd9cb1148ff62/types/fabric/fabric-impl.d.ts

The list below is taken from http://fabricjs.com/docs/ , although it appears that the official list is out of date so I've added the Textbox class.

  • Line
  • Circle
  • Triangle
  • Ellipse
  • Rect
  • Polyline
  • Polygon
  • Group
  • Text
  • IText
  • Textbox
  • Image
  • Path
  • PathGroup

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM