C# 클래스 Mapsui.Rendering.Skia.BitmapHelper

파일 보기 프로젝트 열기: pauldendulk/Mapsui 1 사용 예제들

공개 메소드들

메소드 설명
LoadTexture ( Stream bitmapStream ) : SKBitmapInfo
RenderRaster ( SKCanvas canvas, SKBitmap bitmap, SKRect rect, float opacity = 1f ) : void
RenderTexture ( SKCanvas canvas, SKBitmap bitmap, SKRect rect, float opacity = 1f ) : void
RenderTexture ( SKCanvas canvas, SKBitmap bitmap, float x, float y, float orientation, float offsetX, float offsetY, LabelStyle horizontalAlignment = LabelStyle.HorizontalAlignmentEnum.Center, LabelStyle verticalAlignment = LabelStyle.VerticalAlignmentEnum.Center, float opacity = 1f, float scale = 1f ) : void

비공개 메소드들

메소드 설명
DetermineHorizontalAlignmentCorrection ( LabelStyle horizontalAlignment, int width ) : int
DetermineVerticalAlignmentCorrection ( LabelStyle verticalAlignment, int height ) : int

메소드 상세

LoadTexture() 공개 정적인 메소드

public static LoadTexture ( Stream bitmapStream ) : SKBitmapInfo
bitmapStream System.IO.Stream
리턴 SKBitmapInfo

RenderRaster() 공개 정적인 메소드

public static RenderRaster ( SKCanvas canvas, SKBitmap bitmap, SKRect rect, float opacity = 1f ) : void
canvas SkiaSharp.SKCanvas
bitmap SkiaSharp.SKBitmap
rect SkiaSharp.SKRect
opacity float
리턴 void

RenderTexture() 공개 정적인 메소드

public static RenderTexture ( SKCanvas canvas, SKBitmap bitmap, SKRect rect, float opacity = 1f ) : void
canvas SkiaSharp.SKCanvas
bitmap SkiaSharp.SKBitmap
rect SkiaSharp.SKRect
opacity float
리턴 void

RenderTexture() 공개 정적인 메소드

public static RenderTexture ( SKCanvas canvas, SKBitmap bitmap, float x, float y, float orientation, float offsetX, float offsetY, LabelStyle horizontalAlignment = LabelStyle.HorizontalAlignmentEnum.Center, LabelStyle verticalAlignment = LabelStyle.VerticalAlignmentEnum.Center, float opacity = 1f, float scale = 1f ) : void
canvas SkiaSharp.SKCanvas
bitmap SkiaSharp.SKBitmap
x float
y float
orientation float
offsetX float
offsetY float
horizontalAlignment Mapsui.Styles.LabelStyle
verticalAlignment Mapsui.Styles.LabelStyle
opacity float
scale float
리턴 void