VectorGraphicOptimizerJoinTouchingPaths Method |
Loops through all paths of the given layer and joins adjacent
paths if the predecessor's end point is nearer than
LocationDistance to the successor's start point.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic void JoinTouchingPaths(
VectorGraphicLayer layer,
List<VectorGraphicPath> paths = null,
double locationDistance = 500,
int defaultPenNumber = 1
)
Parameters
- layer VectorGraphicLayer
- The layer to be worked on.
- paths ListVectorGraphicPath (Optional)
- If this list is null all paths in the
layer are checked and possibly joined. If the list contains paths,
only the paths in the list will be considered.
- locationDistance Double (Optional)
- The locations of two points are considered as equal if their distance is less than this value, measured in micrometers.
- defaultPenNumber Int32 (Optional)
[Missing <param name="defaultPenNumber"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.VectorGraphicOptimizer.JoinTouchingPaths(RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayer,System.Collections.Generic.List{RAYLASE.Marker.VectorGraphicElement.VectorGraphicPath},System.Double,System.Int32)"]
See Also