VectorGraphicOptimizerJoinStraightLines(VectorGraphicLayer, Double) Method |
Loops through all paths and concatenates in each path adjacent
lines if they are collinear.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic void JoinStraightLines(
VectorGraphicLayer layer,
double collinearityDistance = 100
)
Parameters
- layer VectorGraphicLayer
- The layer to be worked on.
- 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