Click or drag to resize

VectorGraphicEngine Class

Provides the functionalities to create a vector graphic.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.VectorGraphicElementBaseVectorGraphicElement
    RAYLASE.Marker.VectorGraphicElementVectorGraphicEngine

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

The VectorGraphicEngine type exposes the following members.

Constructors
 NameDescription
Protected methodVectorGraphicEngineInitializes a new instance of the Object class.
Top
Properties
 NameDescription
Public propertyAutomaticMotfResetJumps 
Public propertyDefaultPenNumber 
Public propertyEndPoint Gets the last position of the last layer.
(Overrides BaseVectorGraphicElementEndPoint)
Public propertyExecutionSequences
(Inherited from BaseVectorGraphicElement)
Public propertyFillingManager The filling manager to manipulate fillings.
(Inherited from BaseVectorGraphicElement)
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 propertyIsDynamic The flag to indicate whether the content of this job element is dynamic.
Public propertyLayers The layers of the vector graphic. The values are dynamically generated during the rebuild process.
Public propertyPenNumber
(Overrides BaseVectorGraphicElementPenNumber)
Public propertyPenSet The pen set.
Public propertyQueueMetafileCommandsUpdate 
Public propertyVectorGraphicOptimizer Gets the vector graphic optimizer.
Top
Methods
 NameDescription
Public methodAddLayer Creates a new layer.
Public methodAddTextLayer Creates a new text layer.
Public methodAddToCadImage Adds all layers of the object to the internal CADImage of the given cadExporter.
Public methodBuildTextLayers Build the content for all text layers.
Public methodCenter Moves the job element to the center.
Public methodClear Removes all metafile commands from a given list.
Public methodCopyFrom Copies the properties of the source to this instance.
(Inherited from BaseVectorGraphicElement)
Public methodCreateBarcode Appends a barcode.
Public methodCreateText Appends commands representing a given text.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides BaseVectorGraphicElementDispose)
Protected methodDoCopyFrom Copies properties from a given layer or path.
(Overrides BaseVectorGraphicElementDoCopyFrom(BaseVectorGraphicElement))
Protected methodDoDispose
(Overrides BaseVectorGraphicElementDoDispose(Boolean, Boolean))
Protected methodDoReverseOrder Reverses the order of the vectors in this element.
(Overrides BaseVectorGraphicElementDoReverseOrder(Int32))
Protected methodDoTransform Transforms the vectors in this path.
(Overrides BaseVectorGraphicElementDoTransform(dmat4))
Public methodExportAsUIElement Converts the command list to a UIElement.
Public methodGetAllFillingProfiles Retrieves all filling profiles, including those in layers and paths.
(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 job element.
(Overrides BaseVectorGraphicElementGetBoundingBox(dmat4))
Public methodGetConvexHull2D Returns a path containing the 2D convex hull. Can be useful for preview.
Public methodGetFillingPenNumbers
(Overrides BaseVectorGraphicElementGetFillingPenNumbers(IListInt32))
Public methodGetImportPreview Returns a preview of the file to import.
Public methodGetLength Gets the length of this element without any transformation matrix being applied.
(Inherited from BaseVectorGraphicElement)
Public methodGetMetafileCommandBoundingBox Gets the bounding box of the metafilecommand.
Public methodGetPenNumbers
(Overrides BaseVectorGraphicElementGetPenNumbers(IListInt32))
Public methodGetPointCount Returns the number of points ( eg poly line points or bezier control points ) used by all layers.
(Overrides BaseVectorGraphicElementGetPointCount)
Public methodGetStrokeFont Returns the specified stroke font.
Public methodGetStrokeFontList Gets the list of available stroke fonts.
Public methodGetTransformedLength Returns the transformed length of all outline vectors.
(Overrides BaseVectorGraphicElementGetTransformedLength(dmat4))
Public methodImport Imports a vector graphic from a file.
Public methodImportPointCloudObsolete.
Imports the specified file.
Public methodInsertLayer(Int32) Creates a new layer at a given position.
Public methodInsertLayer(Int32, VectorGraphicLayer) Inserts a given layer at a given position.
Public methodInsertTextLayer Creates a new layer at a given position.
Public methodIsEmpty Returns true if no path is defined.
(Overrides BaseVectorGraphicElementIsEmpty)
Public methodJoinLayers Joins layers. All paths will be appended to the first matching layer.
Public methodMoveLayer Moves a layer.
Public methodMoveLayerRange Moves a range of layers.
Protected methodOnPenNumberChanged Invokes the PenNumberChanged event.
(Inherited from BaseVectorGraphicElement)
Protected methodOnVectorGraphicElementChanged Invokes the VectorGraphicElementChanged event.
(Inherited from BaseVectorGraphicElement)
Public methodOptimizeVectors Optimizes all vectors contained in the engine.
Public methodPrepareExecution Prepares the paths for execution.
Public methodRemoveLayer(Int32, Boolean) Deletes the layer at a given position.
Public methodRemoveLayer(VectorGraphicLayer, Boolean) Deletes the layer.
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 methodTransform Transforms the vectors in this path.
(Inherited from BaseVectorGraphicElement)
Public methodUpdateDynamicContent Updates dynamic content (VectorGraphicTextLayer) to the latest value. Value can be updated before and after execution. A unique ID to indicate that the content is simulated using the given ID as the key. The simulated value is reset to the last non-simulated value if the ID changes. The last non-simulated value will be used if the ID is null.
Protected methodUpdateSharedProfile
(Inherited from BaseVectorGraphicElement)
Protected methodWrapProcess Wraps a delegate with SuspendVectorGraphicElementChanged set to true.
(Inherited from BaseVectorGraphicElement)
Top
Events
 NameDescription
Public eventContentChanged Raised whenever a layer or a path is changed.
Public eventPenSetUpdated Raised whenever a pen is assigned.
Top
See Also