VectorGraphicLayerAddPath Method |
Creates a new path at the end of this layer.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic virtual VectorGraphicPath AddPath(
dvec3 location,
bool isNonJump = false,
bool onlyNewLocation = false
)
Parameters
- location dvec3
- The starting position.
- isNonJump Boolean (Optional)
- The flag to indicate whether the path is a non-jump type. A non-jump path will just process the commands.
- onlyNewLocation Boolean (Optional)
- If true, the move to command will be added only if the location is different from the last position of the previous path. Otherwise, the previous path is used.
Return Value
VectorGraphicPathThe new path, or the last path if a new path is not necessary.
See Also