VectorGraphicOptimizerReplaceAllCommandsByPolylines(VectorGraphicPath, Int32, Double) Method |
Loops through all commands in the given path and replaces each one by a
polyline if possible, consisting out of NumberOfPoints.
See
CreatePolyline(Int32, Double) for details.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic void ReplaceAllCommandsByPolylines(
VectorGraphicPath path,
int numberOfPoints = 500,
double collinearityDistance = 100
)
Parameters
- path VectorGraphicPath
- The path to be worked on.
- numberOfPoints Int32 (Optional)
-
Number of points of the resulting polyline.
- collinearityDistance Double (Optional)
-
A point is considered to be laying on the line defined by two other points if its perpendicular distance from the line is less than this value, measured in micrometers.
See for details.
See Also