Click or drag to resize

VectorGraphicTextLayerAddPath Method

Creates a new path at the end of this layer. Added paths will be cleared during rebuild.

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