feat(Anmerkung): JsonIgnore-Attribut für nicht-clientbezogene Entitäten hinzugefügt
This commit is contained in:
parent
14be46d3d6
commit
db84abf0e7
@ -7,8 +7,10 @@ public record Annotation
|
||||
public required string Name { get; init; }
|
||||
|
||||
#region Bound Annotation
|
||||
[JsonIgnore]
|
||||
public string? HorBoundAnnotName { get; init; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string? VerBoundAnnotName { get; init; }
|
||||
#endregion
|
||||
|
||||
@ -20,13 +22,15 @@ public record Annotation
|
||||
internal double _width = default;
|
||||
|
||||
internal double _height = default;
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public double MarginLeft
|
||||
{
|
||||
get => _marginLeft;
|
||||
init => _marginLeft = value;
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public double MarginTop
|
||||
{
|
||||
get => _marginTop;
|
||||
@ -53,8 +57,10 @@ public record Annotation
|
||||
#endregion
|
||||
|
||||
#region Boundary
|
||||
[JsonIgnore]
|
||||
public double HorBoundary => MarginLeft + Width;
|
||||
|
||||
[JsonIgnore]
|
||||
public double VerBoundary => MarginTop + Height;
|
||||
#endregion
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user