VectorGraphicOptimizerReplaceArcByDrill Method |
If the given path contains only an arc or an ellipse it is replaced
by a drill if its radius is less than or equal than the given one.
In case of an ellipse the criterion is its arc length instead, to
avoid replacing ellipses with a big axes ratio.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic void ReplaceArcByDrill(
VectorGraphicPath path,
double radius,
LaserOnMode mode = LaserOnMode.Pulse,
int pulses = 1,
double time = 100
)
Parameters
- path VectorGraphicPath
- The path to be worked on.
- radius Double
- Circles with a radius less than this one will be replaced by a drill.
- mode LaserOnMode (Optional)
- Type of drill.
- pulses Int32 (Optional)
- Number of pulses in case of mode is pulse.
- time Double (Optional)
- Laser on time in case of mode is time.
See Also