C# Класс BiliRanking.Core.Fubang

Показать файл Открыть проект

Открытые методы

Метод Описание
AddPic ( BiliInterfaceInfo info, int n ) : void
AddPic2 ( BiliInterfaceInfo info, int n ) : void
Gen ( List infos ) : void
Gen2 ( List infos ) : void
RoundCorners ( Image StartImage, int CornerRadius, Color BackgroundColor ) : Image
createFluffyBrush ( GraphicsPath gp, float blendPositions, float blendFactors ) : Brush
createRoundRect ( int x, int y, int width, int height, int radius ) : GraphicsPath
resizeImage ( Image imgToResize, Size size ) : Image
transferOneARGBChannelFromOneBitmapToAnother ( Bitmap source, Bitmap dest, ChannelARGB sourceChannel, ChannelARGB destChannel ) : void

Приватные методы

Метод Описание
RoundCorners ( Image image, int cornerRadius ) : Image

Описание методов

AddPic() публичный Метод

public AddPic ( BiliInterfaceInfo info, int n ) : void
info BiliInterfaceInfo
n int
Результат void

AddPic2() публичный Метод

public AddPic2 ( BiliInterfaceInfo info, int n ) : void
info BiliInterfaceInfo
n int
Результат void

Gen() публичный Метод

public Gen ( List infos ) : void
infos List
Результат void

Gen2() публичный Метод

public Gen2 ( List infos ) : void
infos List
Результат void

RoundCorners() публичный Метод

public RoundCorners ( Image StartImage, int CornerRadius, Color BackgroundColor ) : Image
StartImage Image
CornerRadius int
BackgroundColor Color
Результат Image

createFluffyBrush() публичный статический Метод

public static createFluffyBrush ( GraphicsPath gp, float blendPositions, float blendFactors ) : Brush
gp System.Drawing.Drawing2D.GraphicsPath
blendPositions float
blendFactors float
Результат System.Drawing.Brush

createRoundRect() публичный статический Метод

public static createRoundRect ( int x, int y, int width, int height, int radius ) : GraphicsPath
x int
y int
width int
height int
radius int
Результат System.Drawing.Drawing2D.GraphicsPath

resizeImage() публичный статический Метод

public static resizeImage ( Image imgToResize, Size size ) : Image
imgToResize Image
size System.Drawing.Size
Результат Image

transferOneARGBChannelFromOneBitmapToAnother() публичный статический Метод

public static transferOneARGBChannelFromOneBitmapToAnother ( Bitmap source, Bitmap dest, ChannelARGB sourceChannel, ChannelARGB destChannel ) : void
source System.Drawing.Bitmap
dest System.Drawing.Bitmap
sourceChannel ChannelARGB
destChannel ChannelARGB
Результат void