DK for .NET | TatukGIS.NDK.TGIS_Bitmap | Classes | Constructors | Methods | Properties
Platform independent Bitmap (same object for all platforms).
// C# public class TGIS_Bitmap : TGIS_ObjectDisposable { }
' VisualBasic Public Class TGIS_Bitmap Inherits TGIS_ObjectDisposable End Class
// Oxygene type TGIS_Bitmap = public class( TGIS_ObjectDisposable ) end;
→ TGIS_ObjectDisposable
| Name | Visibility | Description | |
|---|---|---|---|
| TGIS_Bitmap() | public | Create an instance. | |
| TGIS_Bitmap(int, int) | public | Create an instance with a given size. | |
| TGIS_Bitmap(int, int, bool) | public | Create an instance with a specified size. | |
| TGIS_Bitmap(int, int, TGIS_BitmapFactory) | public | Create an instance with a specified size using a specified bitmap factory. | |
| TGIS_Bitmap(TGIS_Bitmap) | public | Create an instance from an existing bitmap. | |
| TGIS_Bitmap(TGIS_BitmapFactory) | public | Create an instance using a specified bitmap factory. | |
| Name | Visibility | Description | |
|---|---|---|---|
| Assign | public | Assign bitmap from other instance. | |
| BitmapType | public | Return the platform specific bitmap type. | |
| Clear | public | Clear the bitmap with a specified color. | |
| CreateViewer | public | Create a viewer for this bitmap. | |
| DrawBitmap(TGIS_Bitmap, Int32[], TRect, TRect) | public | Draw a rectangular region from one bitmap onto a rectangular region of this bitmap using a locked pixel buffer. | |
| DrawBitmap(TGIS_Bitmap, TRect, TRect) | public | Draw a rectangular part of one bitmap onto a rectangular part of this bitmap. | |
| DrawGlyph | public | Draw a symbol optimized for use as a button glyph. | |
| DrawShape(Object, bool, double, TPoint) | public | Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing. | |
| DrawShape(Object, int, bool, double, TPoint) | public | Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing. | |
| DrawShape(Object, int, bool, TGIS_Color, TGIS_Color, double, TPoint) | public | Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing. | |
| DrawSymbol(string) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(string, int) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(string, int, float) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(string, int, TGIS_Color, TGIS_Color) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(string, int, TGIS_Color, TGIS_Color, float) | public | Draw a symbol into the bitmap. | |
| IsNilOrEmpty | public | Test if bitmap is empty or nil | |
| LoadFromBitmap | public | Load bitmap from platform specific bitmap object. | |
| LoadFromFile | public | Load bitmap from file. | |
| LoadFromResourceName(IntPtr, string) | public | Load a bitmap resource from a specific module. | |
| LoadFromResourceName(string) | public | Load bitmap from DK standard resource. | |
| LoadFromResourceName(string, string) | public | Load a bitmap from a standard DK resource. | |
| LoadFromStream | public | Load a bitmap from a platform specific stream object. | |
| LockPixels(Int32[]) | public | Lock and return read-only raw bitmap pixels in the native platform format and native line order. | |
| LockPixels(Int32[], bool) | public | Lock and return raw bitmap pixels in the native platform format and native line order. | |
| LockPixels(Int32[], bool, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) | public | Lock and return raw bitmap pixels. | |
| MakeGlowing | public | Add a semitransparent glowing shadow to the bitmap. | |
| MakeTransparent | public | Make the bitmap transparent by replacing all pixels that match the upper-left corner color with TGIS_Color.None (full ARGB transparency). | |
| NativeFormat | public | Native bitmap format (ARGB or ABGR) for the current platform. | |
| NativeLineOrder | public | Native line order of bitmaps (top-down or bottom-up) for the current platform. | |
| SaveToFile(string) | public | Save bitmap to file. | |
| SaveToFile(string, TGIS_PixelFormat, TGIS_PixelSubFormat, int) | public | Save the bitmap to a file. | |
| SaveToStream(Object) | public | Save the bitmap to a stream. | |
| SaveToStream(Object, TGIS_PixelFormat, TGIS_PixelSubFormat, int) | public | Save the bitmap to a stream. | |
| ScaleBitmap | public | Scale bitmap pixels using the selected resampling filter. | |
| UnlockPixels | public | Unlock pixels obtained by LockPixels and write back any changes if the lock was writable. | |
| Name | Visibility | Description | |
|---|---|---|---|
| BitmapFactory | public | Bitmap factory used to produce the bitmap data. | |
| Height | public | Bitmap height in pixels. | |
| IsEmpty | public | True if the bitmap is empty and has no native bitmap attached. | |
| NativeBitmap | public | Platform specific native bitmap object, such as VCL TBitmap. | |
| Path | public | Path to the bitmap file, available for bitmaps created from files. | |
| PPI | public | Resolution of the bitmap in pixels per inch (PPI). | |
| Premultiplied | public | True if the bitmap should be treated as premultiplied. | |
| Transparent | public | True if bitmap is transparent. | |
| Width | public | Bitmap width in pixels. | |