Table of Contents

Class Image

Namespace
Alis.Core.Ecs.Component.Render
Assembly
Alis.dll

The image class

public class Image

Inheritance

Inherited Members

Constructors

Image()

Initializes a new instance of the Alis.Core.Ecs.Component.Render.Image class

public Image()

Image(string)

Initializes a new instance of the Alis.Core.Ecs.Component.Render.Image class

public Image(string nameFile)

Parameters

nameFile string

The name file

Image(string, Vector2)

Initializes a new instance of the Alis.Core.Ecs.Component.Render.Image class

public Image(string nameFile, Vector2 size)

Parameters

nameFile string

The name file

size Vector2

The size

Properties

Context

Gets or sets the value of the context

private Context Context { get; }

Property Value

Context

NameFile

Gets or sets the value of the name file

[JsonPropertyName("_NameFile_")]
public string NameFile { get; set; }

Property Value

string

Path

Gets or sets the value of the path

public string Path { get; set; }

Property Value

string

Size

Gets or sets the value of the size

[JsonPropertyName("_Size_")]
public Vector2 Size { get; set; }

Property Value

Vector2

Texture

Gets or sets the value of the texture

public IntPtr Texture { get; set; }

Property Value

IntPtr

Methods

Load()

Loads this instance

public void Load()