From f6a3f7f38869bf8787278cd249c64dbe8e797679 Mon Sep 17 00:00:00 2001 From: u01 Date: Tue, 4 Jun 2024 10:58:36 +0300 Subject: [PATCH] fix: add BaseStrokeThickness property to IMapAnchorViewModel This commit introduces property for the initial stroke thickness of map anchors: "BaseStrokeThickness." This property allows configuring visual appearance of map anchors for better fit and precision. It can be adjusted independently and will affect the rendering of the map anchors on the map. Asana: https://app.asana.com/0/1203851531040615/1207177984234823/f --- .../ViewModels/MapAnchorViewModel.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/Asv.Avalonia.Map/ViewModels/MapAnchorViewModel.cs b/src/Asv.Avalonia.Map/ViewModels/MapAnchorViewModel.cs index 7b67d89..99971df 100644 --- a/src/Asv.Avalonia.Map/ViewModels/MapAnchorViewModel.cs +++ b/src/Asv.Avalonia.Map/ViewModels/MapAnchorViewModel.cs @@ -185,10 +185,14 @@ public interface IMapAnchorViewModel /// The size of the object. /// double Size { get; set; } - + /// - /// + /// Represents the base size of a map anchor on the map. /// + /// + /// This property determines the initial size of the map anchor when it is rendered on the map. + /// The size is measured in units and can be adjusted to fit the desired visual appearance. + /// double BaseSize { get; set; } /// @@ -227,6 +231,14 @@ public interface IMapAnchorViewModel /// IBrush Stroke { get; set; } + /// + /// The base thickness of the stroke for the map anchor. + /// + /// + /// This property determines the base thickness of the stroke for the map anchor. The stroke thickness can be modified using the property, which takes into account the base stroke thickness. + /// + double BaseStrokeThickness { get; set; } + /// property `StrokeThickness` in C# double StrokeThickness { get; set; }