dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Model
SpriteSource Class
The sprite source returned from the setSpriteSource method.
ArcGIS Maps SDK for JavaScript
public class SpriteSource :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.SpriteSource>
Inheritance System.Object 🡒 SpriteSource
Implements System.IEquatable<SpriteSource>
Constructors
SpriteSource(string, Nullable, GetSpriteInfo, Nullable, Stream, Nullable, Nullable) Constructor
The sprite source returned from the setSpriteSource method.
ArcGIS Maps SDK for JavaScript
public SpriteSource(string? BaseURL=null, System.Nullable<double> DevicePixelRatio=null, dymaptic.GeoBlazor.Core.Functions.GetSpriteInfo? GetSpriteInfo=null, System.Nullable<int> Height=null, System.IO.Stream? Image=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.LoadStatus> LoadStatus=null, System.Nullable<int> Width=null);
Parameters
BaseURL
System.String
DevicePixelRatio
System.Nullable<System.Double>
The device pixel ratio of the sprite source.
ArcGIS Maps SDK for JavaScript
GetSpriteInfo
GetSpriteInfo
Returns the sprite info for the given sprite.
ArcGIS Maps SDK for JavaScript
Height
System.Nullable<System.Int32>
The height in pixels of the sprite source.
ArcGIS Maps SDK for JavaScript
Image
System.IO.Stream
The sprite image data.
ArcGIS Maps SDK for JavaScript
LoadStatus
System.Nullable<LoadStatus>
Indicates whether the sprite source is loaded successfully.
ArcGIS Maps SDK for JavaScript
Width
System.Nullable<System.Int32>
The width in pixels of the sprite source.
ArcGIS Maps SDK for JavaScript
Properties
SpriteSource.BaseURL Property
public string? BaseURL { get; set; }
Property Value
SpriteSource.DevicePixelRatio Property
The device pixel ratio of the sprite source.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> DevicePixelRatio { get; set; }
Property Value
System.Nullable<System.Double>
SpriteSource.GetSpriteInfo Property
Returns the sprite info for the given sprite.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.GetSpriteInfo? GetSpriteInfo { get; set; }
Property Value
SpriteSource.Height Property
The height in pixels of the sprite source.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Height { get; set; }
Property Value
SpriteSource.Image Property
The sprite image data.
ArcGIS Maps SDK for JavaScript
public System.IO.Stream? Image { get; set; }
Property Value
SpriteSource.LoadStatus Property
Indicates whether the sprite source is loaded successfully.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.LoadStatus> LoadStatus { get; set; }
Property Value
SpriteSource.Width Property
The width in pixels of the sprite source.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Width { get; set; }