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로 설정된 경우의 파일입니다.
- 선 크기 조정을 사용하지 않을 경우의 파일입니다.