SVG内の線のスケール
Contents
[
Hide
]SVGにエクスポートするときの線スケールの変更
SVGファイル内の線のスケールを制御できます。Aspose.CADライブラリは、これに必要なすべてのツールを提供します。
vector_rasterization_optionsのline_scaleパラメータを使用して線のスケールを制御する
例コード:
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に設定された場合のファイル。
- 線のスケーリングを使用しない場合のファイル。