You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make lines dashed, bold, etc. There are structs and enums for this: LineType, LineTypeStyle, LineWeight and so on. But I didn't find how to set these values to objects (e.g. line.style = LineTypeStyle::Dashed). How to apply styles?
The text was updated successfully, but these errors were encountered:
I've added an /examples/ directory that contains more in-depth and/or complicated examples. For your scenario I've added /examples/src/line_type_examples.rs that shows how to do a simple dashed line. Note that if you're going to open the resultant drawing in AutoCAD, it's really picky about what it will accept and maintaining compatibility with AutoCAD is an ongoing battle (e.g., see #17).
I am trying to make lines dashed, bold, etc. There are structs and enums for this:
LineType
,LineTypeStyle
,LineWeight
and so on. But I didn't find how to set these values to objects (e.g.line.style = LineTypeStyle::Dashed
). How to apply styles?The text was updated successfully, but these errors were encountered: