/
Edwar
/
cam-api-examples
Обзор
Документация
Войти
/
Edwar
/
cam-api-examples
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/ExtensionUtilityImportSvgNet/project/main/SvgReaderCallbacks.cs
44 строки
1 KB
cepera
Refresh main branch
29 май 2025, 16:14
29 май 2025, 16:14
f9a4574
Код
Авторство
О чём код?
using STTypes; namespace ExtensionUtilityImportSvgNet; /// <summary> /// Callbacks for SVG path processing /// </summary> public class SvgReaderCallbacks { /// <summary> /// Called when a new path is started /// </summary> public Action<string, TST3DPoint>? OnMoveTo; /// <summary> /// Called when a line is drawn /// </summary> public Action<TST3DPoint>? OnLineTo; /// <summary> /// Called when a path is closed /// </summary> public Action<bool>? OnClosePath; /// <summary> /// Called when a path is stroked to set line color /// </summary> public Action<int>? OnSetLineColor { get; set; } /// <summary> /// Called when a path is stroked to set line width /// </summary> public Action<int>? OnSetLineWidth { get; set; } /// <summary> /// Called when a circle is drawn /// </summary> public Action<string, double, double, double>? OnCircleTo { get; set; } /// <summary> /// Called when an ellipse is drawn /// </summary> public Action<string, double, double, double, double, double>? OnEllipseTo { get; set; } }