dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Serialization
SymbolSerializationRecord Class
Protobuf serialization record for Symbol types.
public record SymbolSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.Symbols.Symbol>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.SymbolSerializationRecord>
Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<Symbol> 🡒 SymbolSerializationRecord
Implements System.IEquatable<SymbolSerializationRecord>
Constructors
SymbolSerializationRecord() Constructor
Default constructor for protobuf deserialization.
public SymbolSerializationRecord();
SymbolSerializationRecord(string, string, MapColorSerializationRecord) Constructor
Creates a new SymbolSerializationRecord with the specified values.
public SymbolSerializationRecord(string Id, string Type, dymaptic.GeoBlazor.Core.Serialization.MapColorSerializationRecord? Color);
Parameters
Type System.String
Color MapColorSerializationRecord
Properties
SymbolSerializationRecord.Angle Property
The angle of the symbol.
public System.Nullable<double> Angle { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.BackgroundColor Property
The background color of a text symbol.
public dymaptic.GeoBlazor.Core.Serialization.MapColorSerializationRecord? BackgroundColor { get; init; }
Property Value
SymbolSerializationRecord.BorderLineColor Property
The border line color of a text symbol.
public dymaptic.GeoBlazor.Core.Serialization.MapColorSerializationRecord? BorderLineColor { get; init; }
Property Value
SymbolSerializationRecord.BorderLineSize Property
The border line size of a text symbol.
public System.Nullable<double> BorderLineSize { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.Color Property
The color of the symbol.
public dymaptic.GeoBlazor.Core.Serialization.MapColorSerializationRecord? Color { get; init; }
Property Value
SymbolSerializationRecord.Font Property
The font of a text symbol.
public dymaptic.GeoBlazor.Core.Serialization.MapFontSerializationRecord? Font { get; init; }
Property Value
SymbolSerializationRecord.HaloColor Property
The halo color of a text symbol.
public dymaptic.GeoBlazor.Core.Serialization.MapColorSerializationRecord? HaloColor { get; init; }
Property Value
SymbolSerializationRecord.HaloSize Property
The halo size of a text symbol.
public System.Nullable<double> HaloSize { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.Height Property
The height of the symbol.
public System.Nullable<double> Height { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.HorizontalAlignment Property
The horizontal alignment of a text symbol.
public string? HorizontalAlignment { get; init; }
Property Value
SymbolSerializationRecord.Id Property
The unique identifier.
public string? Id { get; init; }
Property Value
SymbolSerializationRecord.IsNull Property
Indicates whether this record represents a null value.
public override bool IsNull { get; init; }
Property Value
SymbolSerializationRecord.Kerning Property
Indicates whether kerning is enabled for a text symbol.
public System.Nullable<bool> Kerning { get; init; }
Property Value
System.Nullable<System.Boolean>
SymbolSerializationRecord.LineHeight Property
The line height of a text symbol.
public System.Nullable<double> LineHeight { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.LineStyle Property
The line style of the symbol.
public string? LineStyle { get; init; }
Property Value
SymbolSerializationRecord.LineWidth Property
The line width of a text symbol.
public System.Nullable<double> LineWidth { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.Name Property
The name of a web style symbol.
public string? Name { get; init; }
Property Value
SymbolSerializationRecord.Outline Property
The outline of the symbol.
public dymaptic.GeoBlazor.Core.Serialization.SymbolSerializationRecord? Outline { get; init; }
Property Value
SymbolSerializationRecord.PortalUrl Property
The portal URL of a web style symbol.
public string? PortalUrl { get; init; }
Property Value
SymbolSerializationRecord.Rotated Property
Indicates whether the symbol is rotated.
public System.Nullable<bool> Rotated { get; init; }
Property Value
System.Nullable<System.Boolean>
SymbolSerializationRecord.Size Property
The size of the symbol.
public System.Nullable<double> Size { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.Style Property
The style of the symbol.
public string? Style { get; init; }
Property Value
SymbolSerializationRecord.StyleName Property
The style name of a web style symbol.
public string? StyleName { get; init; }
Property Value
SymbolSerializationRecord.StyleUrl Property
The style URL of a web style symbol.
public string? StyleUrl { get; init; }
Property Value
SymbolSerializationRecord.Text Property
The text content of a text symbol.
public string? Text { get; init; }
Property Value
SymbolSerializationRecord.Type Property
The symbol type.
public string Type { get; init; }
Property Value
SymbolSerializationRecord.Url Property
The URL of a picture symbol.
public string? Url { get; init; }
Property Value
SymbolSerializationRecord.VerticalAlignment Property
The vertical alignment of a text symbol.
public string? VerticalAlignment { get; init; }
Property Value
SymbolSerializationRecord.Width Property
The width of the symbol.
public System.Nullable<double> Width { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.Xoffset Property
The X offset of the symbol.
public System.Nullable<double> Xoffset { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.XScale Property
The X scale of a picture fill symbol.
public System.Nullable<double> XScale { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.Yoffset Property
The Y offset of the symbol.
public System.Nullable<double> Yoffset { get; init; }
Property Value
System.Nullable<System.Double>
SymbolSerializationRecord.YScale Property
The Y scale of a picture fill symbol.
public System.Nullable<double> YScale { get; init; }
Property Value
System.Nullable<System.Double>
Methods
SymbolSerializationRecord.FromSerializationRecord() Method
Converts this serialization record back to the original type.
public override dymaptic.GeoBlazor.Core.Components.Symbols.Symbol? FromSerializationRecord();
Returns
SymbolSerializationRecord.FromSerializationRecord(bool) Method
Converts this serialization record back to a Symbol, with an optional flag for outline context.
public dymaptic.GeoBlazor.Core.Components.Symbols.Symbol FromSerializationRecord(bool isOutline=false);
Parameters
isOutline System.Boolean