An enumeration of all possible types that make up a GeneralPath
Type Details
- yFiles module
- view
Constants
The type that is used to add a line from the current position to the last MOVE_TO position.
Remarks
This type uses no coordinate pair.
The type that is used to move the Stroke to the next position.
Remarks
This type uses one coordinate pair.
Static Methods
Converts the given argument to an enum constant of this enum type.
Returns the name of the given enum constant.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - PathType
- The numeric value of an enum constant.
Returns
- ↪string
- The name of the enum constant.
Throws
- Exception({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.