שקול קווים ב-SVG
Contents
[
Hide
]שנה את סקאלת הקווים בעת ייצוא ל-SVG
אתה יכול לשלוט בסקאלת הקווים בקובץ SVG, ספריית Aspose.CAD מספקת את כל הכלים הדרושים לכך.
השתמש בפרמטר line_scale ב-vector_rasterization_options כדי לשלוט בסקאלת הקווים
קוד דוגמה:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aspose.cad import * | |
from aspose.cad.imageoptions import * | |
image = Image.load("file.plt") | |
options = SvgOptions() | |
options.vector_rasterization_options.line_scale = 0.25 | |
image.save("export.svg", options) |
קובץ המשתמש בסקאלה ליניארית
- הקובץ אם פרמטר LineScale מוגדר ל-0.25.
- קובץ אם אתה לא משתמש בהקשחת קווים.