Skip to content

Commit

Permalink
fix: add BaseStrokeThickness property to IMapAnchorViewModel
Browse files Browse the repository at this point in the history
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
  • Loading branch information
asv-soft-u01 committed Jun 4, 2024
1 parent 462dc15 commit f6a3f7f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/Asv.Avalonia.Map/ViewModels/MapAnchorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,14 @@ public interface IMapAnchorViewModel
/// The size of the object.
/// </value>
double Size { get; set; }

/// <summary>
///
/// Represents the base size of a map anchor on the map.
/// </summary>
/// <remarks>
/// 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.
/// </remarks>
double BaseSize { get; set; }

/// <summary>
Expand Down Expand Up @@ -227,6 +231,14 @@ public interface IMapAnchorViewModel
/// </value>
IBrush Stroke { get; set; }

/// <summary>
/// The base thickness of the stroke for the map anchor.
/// </summary>
/// <remarks>
/// This property determines the base thickness of the stroke for the map anchor. The stroke thickness can be modified using the <see cref="StrokeThickness"/> property, which takes into account the base stroke thickness.
/// </remarks>
double BaseStrokeThickness { get; set; }

/// property `StrokeThickness` in C#
double StrokeThickness { get; set; }

Expand Down

0 comments on commit f6a3f7f

Please sign in to comment.