Class Sprite
Inheritance
System.Object
Sprite
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Styles
Assembly: Mapsui.dll
Syntax
public class Sprite
Constructors
| Improve this Doc View SourceSprite(Int32, Point, Size, Single)
Declaration
public Sprite(int atlas, Point p, Size s, float pixelRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | atlas | |
Point | p | |
Size | s | |
System.Single | pixelRatio |
Sprite(Int32, Int32, Int32, Int32, Int32, Single)
Declaration
public Sprite(int atlas, int x, int y, int width, int height, float pixelRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | atlas | |
System.Int32 | x | |
System.Int32 | y | |
System.Int32 | width | |
System.Int32 | height | |
System.Single | pixelRatio |
Properties
| Improve this Doc View SourceAtlas
Declaration
public int Atlas { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Data
Declaration
public object Data { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Height
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PixelRatio
Declaration
public float PixelRatio { get; }
Property Value
Type | Description |
---|---|
System.Single |
Width
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
X
Declaration
public int X { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Y
Declaration
public int Y { get; }
Property Value
Type | Description |
---|---|
System.Int32 |