Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Media.LegacyImage
Engine.Media.LegacyImage 的协作图:

Public 成员函数

 LegacyImage (LegacyImage image)
 LegacyImage (Image image)
 LegacyImage (int width, int height)
Color GetPixel (int x, int y)
void SetPixel (int x, int y, Color color)

静态 Public 成员函数

static void PremultiplyAlpha (LegacyImage image)
static IEnumerable< LegacyImage > GenerateMipmaps (LegacyImage image, int maxLevelsCount=int.MaxValue)
static ImageFileFormat DetermineFileFormat (string extension)
static ImageFileFormat DetermineFileFormat (Stream stream)
static LegacyImage Load (Stream stream, ImageFileFormat format)
static LegacyImage Load (string fileName, ImageFileFormat format)
static LegacyImage Load (Stream stream)
static LegacyImage Load (string fileName)
static void Save (LegacyImage image, Stream stream, ImageFileFormat format, bool saveAlpha)
static void Save (LegacyImage image, string fileName, ImageFileFormat format, bool saveAlpha)

Public 属性

readonly int Width
readonly int Height
readonly Color[] Pixels

详细描述

在文件 LegacyImage.cs 第 2 行定义.

构造及析构函数说明

◆ LegacyImage() [1/3]

Engine.Media.LegacyImage.LegacyImage ( LegacyImage image)

在文件 LegacyImage.cs 第 9 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ LegacyImage() [2/3]

Engine.Media.LegacyImage.LegacyImage ( Image image)

在文件 LegacyImage.cs 第 16 行定义.

◆ LegacyImage() [3/3]

Engine.Media.LegacyImage.LegacyImage ( int width,
int height )

在文件 LegacyImage.cs 第 23 行定义.

成员函数说明

◆ DetermineFileFormat() [1/2]

ImageFileFormat Engine.Media.LegacyImage.DetermineFileFormat ( Stream stream)
static

在文件 LegacyImage.cs 第 157 行定义.

◆ DetermineFileFormat() [2/2]

ImageFileFormat Engine.Media.LegacyImage.DetermineFileFormat ( string extension)
static

在文件 LegacyImage.cs 第 155 行定义.

◆ GenerateMipmaps()

IEnumerable< LegacyImage > Engine.Media.LegacyImage.GenerateMipmaps ( LegacyImage image,
int maxLevelsCount = int::MaxValue )
static

在文件 LegacyImage.cs 第 52 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GetPixel()

Color Engine.Media.LegacyImage.GetPixel ( int x,
int y )

在文件 LegacyImage.cs 第 31 行定义.

◆ Load() [1/4]

LegacyImage Engine.Media.LegacyImage.Load ( Stream stream)
static

在文件 LegacyImage.cs 第 167 行定义.

函数调用图:

◆ Load() [2/4]

LegacyImage Engine.Media.LegacyImage.Load ( Stream stream,
ImageFileFormat format )
static

在文件 LegacyImage.cs 第 159 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Load() [3/4]

LegacyImage Engine.Media.LegacyImage.Load ( string fileName)
static

在文件 LegacyImage.cs 第 169 行定义.

函数调用图:

◆ Load() [4/4]

LegacyImage Engine.Media.LegacyImage.Load ( string fileName,
ImageFileFormat format )
static

在文件 LegacyImage.cs 第 161 行定义.

函数调用图:

◆ PremultiplyAlpha()

void Engine.Media.LegacyImage.PremultiplyAlpha ( LegacyImage image)
static

在文件 LegacyImage.cs 第 46 行定义.

函数调用图:

◆ Save() [1/2]

void Engine.Media.LegacyImage.Save ( LegacyImage image,
Stream stream,
ImageFileFormat format,
bool saveAlpha )
static

在文件 LegacyImage.cs 第 175 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Save() [2/2]

void Engine.Media.LegacyImage.Save ( LegacyImage image,
string fileName,
ImageFileFormat format,
bool saveAlpha )
static

在文件 LegacyImage.cs 第 178 行定义.

函数调用图:

◆ SetPixel()

void Engine.Media.LegacyImage.SetPixel ( int x,
int y,
Color color )

在文件 LegacyImage.cs 第 34 行定义.

类成员变量说明

◆ Height

readonly int Engine.Media.LegacyImage.Height

在文件 LegacyImage.cs 第 5 行定义.

◆ Pixels

readonly Color [] Engine.Media.LegacyImage.Pixels

在文件 LegacyImage.cs 第 7 行定义.

◆ Width

readonly int Engine.Media.LegacyImage.Width

在文件 LegacyImage.cs 第 3 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine.Media/LegacyImage.cs