C# 클래스 Com.Aurora.Shared.Helpers.ImagingHelper

파일 보기 프로젝트 열기: aurora-lzzp/Aurora-Weather

공개 메소드들

메소드 설명
CropandScaleAsync ( StorageFile source, StorageFile dest, Point startPoint, Size size, double m_scaleFactor ) : System.Threading.Tasks.Task
GetMainColor ( Uri urisource ) : Task
GetPictureAsync ( StorageFile ImageFile ) : Task
New ( Stream stream ) : Task
ResizedImage ( StorageFile ImageFile, float ratio ) : Task
SaveBitmapToFileAsync ( WriteableBitmap image, string userId ) : System.Threading.Tasks.Task
SetWallpaperAsync ( StorageFile localAppDataFileName ) : Task

비공개 메소드들

메소드 설명
GetPixels ( WriteableBitmap bitmap, Color pixels, Int32 width, Int32 height ) : Task
fromBitmap ( WriteableBitmap bitmap ) : Task
scaleBitmapDown ( WriteableBitmap bitmap ) : WriteableBitmap

메소드 상세

CropandScaleAsync() 공개 정적인 메소드

public static CropandScaleAsync ( StorageFile source, StorageFile dest, Point startPoint, Size size, double m_scaleFactor ) : System.Threading.Tasks.Task
source Windows.Storage.StorageFile
dest Windows.Storage.StorageFile
startPoint Point
size Windows.Foundation.Size
m_scaleFactor double
리턴 System.Threading.Tasks.Task

GetMainColor() 공개 정적인 메소드

public static GetMainColor ( Uri urisource ) : Task
urisource Uri
리턴 Task

GetPictureAsync() 공개 정적인 메소드

public static GetPictureAsync ( StorageFile ImageFile ) : Task
ImageFile Windows.Storage.StorageFile
리턴 Task

New() 공개 정적인 메소드

public static New ( Stream stream ) : Task
stream Stream
리턴 Task

ResizedImage() 공개 정적인 메소드

public static ResizedImage ( StorageFile ImageFile, float ratio ) : Task
ImageFile Windows.Storage.StorageFile
ratio float
리턴 Task

SaveBitmapToFileAsync() 공개 정적인 메소드

public static SaveBitmapToFileAsync ( WriteableBitmap image, string userId ) : System.Threading.Tasks.Task
image Windows.UI.Xaml.Media.Imaging.WriteableBitmap
userId string
리턴 System.Threading.Tasks.Task

SetWallpaperAsync() 공개 정적인 메소드

public static SetWallpaperAsync ( StorageFile localAppDataFileName ) : Task
localAppDataFileName Windows.Storage.StorageFile
리턴 Task