bitmap class

Description

Represents an image.

Notes

It is a class that is statically included in the Cooker.

An instance returned by variable declaration has not been initialized.

An instance that is used up should be released. Please do not forget to call Release() method.

This class is implemented so that it can implicitly convert to System.Drawing.Bitmap.

fitter

SignatureDescription
bitmap()

Returns a new instance of bitmap class.

bitmap(bitmap)

Returns a new instance of the bitmap class.

bitmap(string)

Returns a new instance of bitmap class.

getter

SignatureDescription
Fitted

Returns the value that indicates whether an instance was initialized.

Height

Returns a height of the bitmap.

TypeName

Returns the type name.

Width

Returns a width of the bitmap.

setter

This class does not have a setter.

method

SignatureDescription
Clone()

Returns a new instance with the same image as the caller.

Release()

Releases unmanaged resources.

Save(string)

Saves to the file.

Trim(int,int,int,int)

Cuts out part of the image and returns it as new bitmap.

Copyright © Cooker All rights reserved.