category property

String? category
getter/setter pair

The category of the line to be created.

The exact line type created is determined based on the category and how it's routed to connect to other page elements. If you specify both a category and a line_category, the category takes precedence. If you do not specify a value for category, but specify a value for line_category, then the specified line_category value is used. If you do not specify either, then STRAIGHT is used. Possible string values are:

  • "LINE_CATEGORY_UNSPECIFIED" : Unspecified line category.
  • "STRAIGHT" : Straight connectors, including straight connector 1.
  • "BENT" : Bent connectors, including bent connector 2 to 5.
  • "CURVED" : Curved connectors, including curved connector 2 to 5.

Implementation

core.String? category;