Assembly Idmr.ActImage

Class Idmr.ActImage.Act - Object to work with *.ACT image files found in TIE95, XvT and BoP
ConstructorAct(string file) - Loads an Act image from file
file - Full path to the ACT file
System.ArgumentException
System.UnauthorizedAccessException
System.IO.FileNotFoundException
ConstructorAct(System.Drawing.Bitmap image) - Creates a new Act image from bitmap
image - Image to create Act with
System.ArgumentException
PropertySystem.Drawing.PointCenter - Gets or Sets the pixel location used to "pin" the Act object in-game
PropertystringFileName - Gets the file name of the Act object
PropertystringFilePath - Gets the full path of the Act object
PropertySystem.Drawing.Point[]FrameLocations - Gets the array of (Left,Top) values of each frame, relative to Center
PropertyintHeight - Gets the overall height of the Act object
PropertyintNumberOfFrames - Gets the number of images contained within the Act object
PropertySystem.Drawing.SizeSize - Gets the overall size of the Act object
PropertyintWidth - Gets the overall width of the Act object
MethodSave( ) - Writes the Act object to its original location
System.Exception
System.IO.DirectoryNotFoundException
System.UnauthorizedAccessException
MethodSave(string file) - Writes the Act object to a new location
file - Full path to the new ACT file
System.Exception
System.IO.DirectoryNotFoundException
System.UnauthorizedAccessException
MethodSystem.Drawing.ColorGetColor(int frame, int index) - Returns Color of the indicated palette entry
frame - Zero-indexed frame
index - Color index
System.IndexOutOfRangeException
MethodSystem.Drawing.BitmapGetFrame(int frame) - Returns 8bppIndexed image of selected frame
frame - Zero-indexed frame
System.IndexOutOfRangeException
MethodSystem.Drawing.SizeGetFrameSize(int frame) - Returns Size of the given frame
frame - Zero-indexed frame
System.IndexOutOfRangeException
MethodintGetNumberOfColors(int frame) - Returns number of colors defined in the frame
frame - Zero-indexed frame
System.IndexOutOfRangeException
MethodSetColor(int frame, int index, System.Drawing.Color color)
frame - Zero-indexed frame
index - Color index
color - Color to be used
System.IndexOutOfRangeException
MethodSetColor(int frame, int index, byte r, byte g, byte b)
frame - Zero-indexed frame
index - Color index
r - R value of color to be used
g - G value of color to be used
b - B value of color to be used
System.IndexOutOfRangeException
MethodSetFrame(int frame, System.Drawing.Bitmap image)
frame - Zero-indexed frame
image - New image. If 8bppIndexed, image's palette is used, else existing is
System.ArgumentException
System.IndexOutOfRangeException