Click or drag to resize

VectorGraphicOptimizerReplaceCommandsByPaths Method

Replaces all commands in the given layer whose indices are given in Dictionary pathDic by a path containing only that command.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public List<int> ReplaceCommandsByPaths(
	VectorGraphicLayer layer,
	SortedDictionary<int, List<int>> pathDic
)

Parameters

layer  VectorGraphicLayer
The layer where the replacement will be done.
pathDic  SortedDictionaryInt32, ListInt32
This dictionary contains the indices of paths and the commands that should be replaced. The key is the index of a path in the given layer, and the value is a list of the command indices in that path.

Return Value

ListInt32
A list of path indices of the paths that has been removed.
See Also