dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

SpriteInfo Class

A description of each image contained in the sprite.
ArcGIS Maps SDK for JavaScript

public class SpriteInfo :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.SpriteInfo>

Inheritance System.Object 🡒 SpriteInfo

Implements System.IEquatable<SpriteInfo>

Constructors

SpriteInfo(Nullable, Nullable, Nullable, Nullable, Nullable, Nullable) Constructor

A description of each image contained in the sprite.
ArcGIS Maps SDK for JavaScript

public SpriteInfo(System.Nullable<int> Height=null, System.Nullable<double> PixelRatio=null, System.Nullable<bool> Sdf=null, System.Nullable<int> Width=null, System.Nullable<double> X=null, System.Nullable<double> Y=null);

Parameters

Height System.Nullable<System.Int32>

The height of the sprite.
ArcGIS Maps SDK for JavaScript

PixelRatio System.Nullable<System.Double>

The pixel ratio of the sprite.
ArcGIS Maps SDK for JavaScript

Sdf System.Nullable<System.Boolean>

Whether the sprite is SDF or not.
ArcGIS Maps SDK for JavaScript

Width System.Nullable<System.Int32>

The width of the sprite.
ArcGIS Maps SDK for JavaScript

X System.Nullable<System.Double>

The x position of the upper-left corner of the sprite.
ArcGIS Maps SDK for JavaScript

Y System.Nullable<System.Double>

The y position of the upper-left corner of the sprite.
ArcGIS Maps SDK for JavaScript

Properties

SpriteInfo.Height Property

The height of the sprite.
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> Height { get; set; }

Property Value

System.Nullable<System.Int32>

SpriteInfo.PixelRatio Property

The pixel ratio of the sprite.
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> PixelRatio { get; set; }

Property Value

System.Nullable<System.Double>

SpriteInfo.Sdf Property

Whether the sprite is SDF or not.
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> Sdf { get; set; }

Property Value

System.Nullable<System.Boolean>

SpriteInfo.Width Property

The width of the sprite.
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> Width { get; set; }

Property Value

System.Nullable<System.Int32>

SpriteInfo.X Property

The x position of the upper-left corner of the sprite.
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> X { get; set; }

Property Value

System.Nullable<System.Double>

SpriteInfo.Y Property

The y position of the upper-left corner of the sprite.
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Y { get; set; }

Property Value

System.Nullable<System.Double>