Sets the shape of the ends of the bus.

syntaxSyntax:
DlxBus.SetCap(index, cap)

Parameters

Parameter Description
index Specify 0 for the beginning of the bus, 1 for the end of the bus, or 2 to set both ends of the bus.
cap Specify one of the following values:
DlxApp.PATHCAP_FLAT
DlxApp.PATHCAP_ROUND
DlxApp.PATHCAP_ARROW
DlxApp.PATHCAP_TRIANGLE
DlxApp.PATHCAP_DOVETAIL

Return Value

If the operation ends correctly it returns true otherwise it returns false.

Example

  Copy codeCopy code

See also