Click or drag to resize

VectorGraphicOptimizerJoinSimilarArcs(VectorGraphicPath, ListArcToMetafileCommand, Double) Method

Loops through all commands in the given path and checks, if each two adjacent commands are arcs and if it is possible to replace them by a single arc. If yes, the arcs are merged.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public void JoinSimilarArcs(
	VectorGraphicPath path,
	List<ArcToMetafileCommand> arcList = null,
	double locationDistance = 500
)

Parameters

path  VectorGraphicPath
The path to be worked on.
arcList  ListArcToMetafileCommand  (Optional)
If not null, only arcs in the path are joined which are in this list too.
locationDistance  Double  (Optional)
The locations of two points are considered as equal if their distance is less than this value, measured in micrometers.
See Also