Click or drag to resize

BaseMetafileCommandSplitByLength Method

Splits the command at the provided length.

Namespace: RAYLASE.Marker.VectorGraphicElement.MetafileCommand
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.20.0
Syntax
C#
public (BaseMetafileCommand Command0, BaseMetafileCommand Command1) SplitByLength(
	double length,
	dmat4 transformation
)

Parameters

length  Double
Distance of the split.
transformation  dmat4
Transformation of the command.

Return Value

ValueTupleBaseMetafileCommand, BaseMetafileCommand
Tuple containing the two commands. The first has the desired length, the second the rest.
Exceptions
ExceptionCondition
NotImplementedExceptionThrown for unknown command type.
See Also