Click or drag to resize

VectorGraphicPath Class

Provides the base class for vector graphic path.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.VectorGraphicElementBaseVectorGraphicElement
    RAYLASE.Marker.VectorGraphicElementVectorGraphicPath

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public abstract class VectorGraphicPath : BaseVectorGraphicElement

The VectorGraphicPath type exposes the following members.

Constructors
 NameDescription
Protected methodVectorGraphicPathInitializes a new instance of the Object class.
Top
Properties
 NameDescription
Public propertyCommands The read-only metafile commands in this path.
Public propertyEndPoint
(Overrides BaseVectorGraphicElementEndPoint)
Public propertyExecutionSequences
(Inherited from BaseVectorGraphicElement)
Public propertyFillingManager The filling manager to manipulate fillings.
(Inherited from BaseVectorGraphicElement)
Public propertyHasJump Indicates if a jump to the location will be inserted.
Public propertyID The unique ID of the vector graphic element. If the concrete class inherits from BaseVectorGraphicElement, its ID will be prefilled. Recommended not to be changed.
(Inherited from BaseVectorGraphicElement)
Public propertyIgnoreTransformation Indicates if a jump to the location will ignore the objects matrix transformation.
Protected propertyInternalCommands 
Public propertyIsClosed Returns true if the start and end point are identical
Public propertyIsMotfResetJump 
Public propertyLocation The starting location of the path.
Protected propertyMetafileCommandFactory 
Public propertyPenNumber The starting pen number before processing the element.
(Inherited from BaseVectorGraphicElement)
Top
Methods
 NameDescription
Public methodAddMetafileCommand Adds the given metafile command to the path.
Public methodArcTo Draws an arc from the last end point of the current path using a given angle and a given center point.
Public methodClosePath Closes the countour of the path by adding a line from the end position to the start position.
Public methodCopyAndAppendMetafileCommands Adds a range of commands to the specified command list.
Public methodCopyFrom Copies the properties of the source to this instance.
(Inherited from BaseVectorGraphicElement)
Public methodCubicCurveTo Draws a cubic Bezier curve from the last end point of the current path to a given curve end point.
Public methodDisposeReleases all resources used by the VectorGraphicPath
(Overrides BaseVectorGraphicElementDispose)
Protected methodDoCopyFrom
(Overrides BaseVectorGraphicElementDoCopyFrom(BaseVectorGraphicElement))
Protected methodDoDispose
(Overrides BaseVectorGraphicElementDoDispose(Boolean, Boolean))
Protected methodDoReverseOrder
(Overrides BaseVectorGraphicElementDoReverseOrder(Int32))
Protected methodDoTransform
(Overrides BaseVectorGraphicElementDoTransform(dmat4))
Public methodEllipseTo Draws an ellipse from the last end point of the current path using a given orientation, a given sweep angle, a given axes ratio, and a given center point.
Public methodGetAllFillingProfiles
(Overrides BaseVectorGraphicElementGetAllFillingProfiles)
Public methodGetAllFillings
(Overrides BaseVectorGraphicElementGetAllFillings(NullableInt32, Int32))
Public methodGetBoundingBox Gets the bounding box of the vector graphic element.
(Inherited from BaseVectorGraphicElement)
Public methodGetBoundingBox(dmat4) Gets the bounding box of the vector graphic element.
(Overrides BaseVectorGraphicElementGetBoundingBox(dmat4))
Public methodGetCommandIndex Gets the index of a command in the command list.
Public methodGetFillingPenNumbers
(Overrides BaseVectorGraphicElementGetFillingPenNumbers(IListInt32))
Public methodGetLastExecutedPosition Returns the last marked position. Can be different from EndPoint in case ShouldMark is false.
Public methodGetLastPenNumber Returns the pen number of the last set pen command if any.
Public methodGetLength Gets the length of this element without any transformation matrix being applied.
(Inherited from BaseVectorGraphicElement)
Public methodGetPenNumbers
(Overrides BaseVectorGraphicElementGetPenNumbers(IListInt32))
Public methodGetPointCount
(Overrides BaseVectorGraphicElementGetPointCount)
Public methodGetPredecessor Returns to a given command the predecessor in the path which is not of type typeToIgnore.
Public methodGetSegment 
Public methodGetSuccessor Returns to a given command the successor in the path which is not of type typeToIgnore.
Public methodGetTransformedLength
(Overrides BaseVectorGraphicElementGetTransformedLength(dmat4))
Public methodInsertMetafileCommand Inserts a command to the specified command list at the specified index.
Public methodIsEmpty
(Overrides BaseVectorGraphicElementIsEmpty)
Public methodIsEqual Checks if this path is equal to the path in the argument. The coordinates of all points must not differ more than d to be considered as equal, angles must not differ more than VectorGraphicEngine._angDelta.
Public methodLaserOff Switches the laser off.
Public methodLaserOn Activates the laser for the defined amount of pulses or time.
Public methodLineTo Draws a line from the last end point of the current path to a given line end point position.
Public methodMicroVectorTo Draws a micro vector polyline from the last end point of the current path through the provided points.
Public methodMoveMetafileCommand Moves the command within the specified command list.
Public methodMoveMetafileCommandRange Moves the range of metafile commands within the specified command list.
Protected methodOnPenNumberChanged Invokes the PenNumberChanged event.
(Inherited from BaseVectorGraphicElement)
Protected methodOnVectorGraphicElementChanged Invokes the VectorGraphicElementChanged event.
(Inherited from BaseVectorGraphicElement)
Public methodPolyLineTo Draws a polyline from the last end point of the current path through the provided points.
Public methodPrepareExecution Prepares the path for execution.
Public methodQuadraticCurveTo Draws a quadratic Bezier curve from the last end point of the current path to a given curve end point.
Public methodRemoveMetafileCommand Removes the command from the specified command list.
Public methodRemoveMetafileCommandAt Removes the command at the specified index from the specified command list.
Public methodRemoveMetafileCommandRange Removes the range of commands from the specified command list.
Public methodResolveExecutionSequences
(Inherited from BaseVectorGraphicElement)
Public methodResolveSequencePenNumbers
(Inherited from BaseVectorGraphicElement)
Public methodReverseOrder Reverses the order of the vectors in this element.
(Inherited from BaseVectorGraphicElement)
Public methodSendTrigger 
Public methodSetBitmap Draws a given bitmap at a given position.
Public methodSetData Sends a proprietary information that could be used to perform a custom action specific to the capability of the scan controller hardware.
Public methodSetNewStart Sets the end of the command as new start of the path.
Public methodSetPen Sets the pen profile that will be used for the subsequent commands.
Public methodToString
(Overrides ObjectToString)
Public methodTransform Transforms the vectors in this path.
(Inherited from BaseVectorGraphicElement)
Protected methodUpdateEndPoints 
Protected methodUpdateSharedProfile
(Inherited from BaseVectorGraphicElement)
Protected methodWrapProcess Wraps a delegate with SuspendVectorGraphicElementChanged set to true.
(Inherited from BaseVectorGraphicElement)
Top
See Also