AbstractGeometryItem constructor
AbstractGeometryItem({
- ArrowType arrowType = ArrowType.none,
- ArrowDirection beginArrowDirection = ArrowDirection.none,
- int beginSlot = -1,
- ArrowDirection endArrowDirection = ArrowDirection.none,
- int endSlot = -1,
- RestrictionType restrictionType = RestrictionType.none,
- ShapeForm shapeForm = ShapeForm.line,
- ShapeType shapeType = ShapeType.street,
- int slotAllocation = 0,
Creates an AbstractGeometryItem instance.
API users should typically not create instances directly. Use TurnDetails.abstractGeometry instead.
Parameters
arrowType: The arrow type for this geometry item.beginArrowDirection: The arrow direction at the begin of this geometry item.beginSlot: The slot index where the shape begin is attached to the anchor.endArrowDirection: The arrow direction at the end of this geometry item.endSlot: The slot index where the shape end is attached to the anchor.restrictionType: The restriction type for this geometry item.shapeForm: The shape form for this geometry item.shapeType: The shape type for this geometry item.slotAllocation: The slot allocation for this geometry item.
Implementation
AbstractGeometryItem({
this.arrowType = ArrowType.none,
this.beginArrowDirection = ArrowDirection.none,
this.beginSlot = -1,
this.endArrowDirection = ArrowDirection.none,
this.endSlot = -1,
this.restrictionType = RestrictionType.none,
this.shapeForm = ShapeForm.line,
this.shapeType = ShapeType.street,
this.slotAllocation = 0,
});