CreateText(Single, Vector2, Single, Boolean, Single, String, Single, Single, Single, Single, Single, Boolean, Boolean, Boolean, Boolean, String?) Method

Definition

Assembly ProCad.Rendering.dll

Creates a linetype text segment.

public static RenderLinePatternSegment CreateText(float length, Vector2 offset, float rotation, bool rotationIsAbsolute, float scale, string text, float layoutWidth, float layoutHeight, float fontSize, float widthFactor, float obliqueAngle, bool isBold, bool isItalic, bool mirrorX, bool mirrorY, string? fontFamily)

Parameters

length
Single
offset
Vector2
rotation
Single
rotationIsAbsolute
Boolean
scale
Single
text
String?
layoutWidth
Single
layoutHeight
Single
fontSize
Single
widthFactor
Single
obliqueAngle
Single
isBold
Boolean
isItalic
Boolean
mirrorX
Boolean
mirrorY
Boolean
fontFamily
String?

Returns