C# 클래스 XCom.Interfaces.IXCImageFile

Class that contains all information needed to read/save image files and collections. This class should not be instantiated directly. Upon startup, objects from derived classes will be created and tracked
상속: IAssemblyLoadable, IOpenSave
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
author string
defPal Palette
expDesc string
ext string
fileOptions xcFileOptions
imageSize System.Drawing.Size
singleFile string

공개 메소드들

메소드 설명
IXCImageFile ( ) : System

Creates an object of this class with width and height of 0

IXCImageFile ( int width, int height ) : System

It is not recommended to instantiate objects of this type directly. See PckView.xcProfile for a generic implementation that does not throw runtime exceptions

LoadFile ( string directory, string file ) : XCImageCollection

Calls LoadFile with ImageSize.Width and ImageSize.Height

LoadFile ( string directory, string file, int imgWid, int imgHei ) : XCImageCollection

Method that calls the overloaded load function in order to do some similar functionality across all instances of this class

LoadFile ( string directory, string file, int imgWid, int imgHei, Palette pal ) : XCImageCollection
RegisterFile ( ) : bool

See: AssemblyLoadable.RegisterFile

SaveCollection ( string directory, string file, XCImageCollection images ) : void

Saves a collection

Unload ( ) : void

보호된 메소드들

메소드 설명
LoadFileOverride ( string directory, string file, int imgWid, int imgHei, Palette pal ) : XCImageCollection

Load a file and return a collection of images

메소드 상세

IXCImageFile() 공개 메소드

Creates an object of this class with width and height of 0
public IXCImageFile ( ) : System
리턴 System

IXCImageFile() 공개 메소드

It is not recommended to instantiate objects of this type directly. See PckView.xcProfile for a generic implementation that does not throw runtime exceptions
public IXCImageFile ( int width, int height ) : System
width int Default width
height int Default Height
리턴 System

LoadFile() 공개 메소드

Calls LoadFile with ImageSize.Width and ImageSize.Height
public LoadFile ( string directory, string file ) : XCImageCollection
directory string
file string
리턴 XCImageCollection

LoadFile() 공개 메소드

Method that calls the overloaded load function in order to do some similar functionality across all instances of this class
public LoadFile ( string directory, string file, int imgWid, int imgHei ) : XCImageCollection
directory string
file string
imgWid int
imgHei int
리턴 XCImageCollection

LoadFile() 공개 메소드

public LoadFile ( string directory, string file, int imgWid, int imgHei, Palette pal ) : XCImageCollection
directory string
file string
imgWid int
imgHei int
pal Palette
리턴 XCImageCollection

LoadFileOverride() 보호된 메소드

Load a file and return a collection of images
protected LoadFileOverride ( string directory, string file, int imgWid, int imgHei, Palette pal ) : XCImageCollection
directory string
file string
imgWid int
imgHei int
pal Palette
리턴 XCImageCollection

RegisterFile() 공개 메소드

See: AssemblyLoadable.RegisterFile
public RegisterFile ( ) : bool
리턴 bool

SaveCollection() 공개 메소드

Saves a collection
public SaveCollection ( string directory, string file, XCImageCollection images ) : void
directory string Directory to save to
file string Filename
images XCImageCollection images to save in this format
리턴 void

Unload() 공개 메소드

public Unload ( ) : void
리턴 void

프로퍼티 상세

author 보호되어 있는 프로퍼티

protected string author
리턴 string

defPal 보호되어 있는 프로퍼티

protected Palette defPal
리턴 Palette

expDesc 보호되어 있는 프로퍼티

protected string expDesc
리턴 string

ext 보호되어 있는 프로퍼티

protected string ext
리턴 string

fileOptions 보호되어 있는 프로퍼티

protected xcFileOptions,XCom.Interfaces fileOptions
리턴 xcFileOptions

imageSize 보호되어 있는 프로퍼티

protected System.Drawing.Size imageSize
리턴 System.Drawing.Size

singleFile 보호되어 있는 프로퍼티

protected string singleFile
리턴 string