Click or drag to resize

VectorGraphicEngineCreateText Method

Appends commands representing a given text.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public virtual void CreateText(
	string text,
	FontInformation fontInformation,
	dvec3 offset,
	double rotation,
	dvec2 scale,
	dvec2? fixedSize = null,
	bool createNewLayer = true
)

Parameters

text  String
Text to convert.
fontInformation  FontInformation
Definition of the font.
offset  dvec3
Offset of the text.
rotation  Double
Rotation [°].
scale  dvec2
Scaling factor.
fixedSize  Nullabledvec2  (Optional)
If not null, the object will be stretched to the defined size.
createNewLayer  Boolean  (Optional)
Creates a new layer, otherwise paths will be appended to the last layer.
See Also