This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 411
ef4d671f 7c8f 34e1 d42e b6ce0767811c
haplokuon edited this page May 6, 2023
·
1 revision
LinetypeTextSegment(String, TextStyle, Double, Vector2, LinetypeSegmentRotationType, Double, Double) Constructor
netDxf 3.0.0 Library
Initializes a new instance of the LinetypeShapeSegment
class.
Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public LinetypeTextSegment(
string text,
TextStyle style,
double length,
Vector2 offset,
LinetypeSegmentRotationType rotationType,
double rotation,
double scale
)
VB
Public Sub New (
text As String,
style As TextStyle,
length As Double,
offset As Vector2,
rotationType As LinetypeSegmentRotationType,
rotation As Double,
scale As Double
)
C++
public:
LinetypeTextSegment(
String^ text,
TextStyle^ style,
double length,
Vector2 offset,
LinetypeSegmentRotationType rotationType,
double rotation,
double scale
)
F#
new :
text : string *
style : TextStyle *
length : float *
offset : Vector2 *
rotationType : LinetypeSegmentRotationType *
rotation : float *
scale : float -> LinetypeTextSegment
- String
- Text to display on the linetype segment.
- TextStyle
- Name of the TextStyle.
- Double
- Dash, dot, or space length of the linetype segment.
- Vector2
- Shift of the shape along the line.
- LinetypeSegmentRotationType
- Type of rotation defined by the rotation value.
- Double
- Rotation of the text.
- Double
- Scale of the text.
LinetypeTextSegment Class
LinetypeTextSegment Overload
netDxf.Tables Namespace