C# 클래스 TileIconifier.Core.IconExtractor.IconUtil

파일 보기 프로젝트 열기: Jonno12345/TileIconifier

공개 메소드들

메소드 설명
GetBitCount ( Icon icon ) : int

Gets the bit depth of an Icon.

This method takes into account the PNG header. If the icon has multiple variations, this method returns the bit depth of the first variation.

Split ( Icon icon ) : System.Drawing.Icon[]

Split an Icon consists of multiple icons into an array of Icon each consists of single icons.

ToBitmap ( Icon icon ) : Bitmap

Converts an Icon to a GDI+ Bitmap preserving the transparent area.

비공개 메소드들

메소드 설명
GetIconData ( Icon icon ) : byte[]
IconUtil ( ) : System

메소드 상세

GetBitCount() 공개 정적인 메소드

Gets the bit depth of an Icon.
This method takes into account the PNG header. If the icon has multiple variations, this method returns the bit depth of the first variation.
public static GetBitCount ( Icon icon ) : int
icon System.Drawing.Icon An System.Drawing.Icon object.
리턴 int

Split() 공개 정적인 메소드

Split an Icon consists of multiple icons into an array of Icon each consists of single icons.
public static Split ( Icon icon ) : System.Drawing.Icon[]
icon System.Drawing.Icon A System.Drawing.Icon to be split.
리턴 System.Drawing.Icon[]

ToBitmap() 공개 정적인 메소드

Converts an Icon to a GDI+ Bitmap preserving the transparent area.
public static ToBitmap ( Icon icon ) : Bitmap
icon System.Drawing.Icon An System.Drawing.Icon to be converted.
리턴 System.Drawing.Bitmap