Click or drag to resize

VectorGraphicLayerAddPath Method

Creates a new path at the end of this layer.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public 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

VectorGraphicPath
The new path, or the last path if a new path is not necessary.
See Also