C# 클래스 SkiaSharp.SKCanvas

상속: SKObject
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void
Clear ( SKColor color ) : void
ClipPath ( SKPath path, SKClipOperation operation = SKClipOperation.Intersect, bool antialias = false ) : void
ClipRect ( SKRect rect, SKClipOperation operation = SKClipOperation.Intersect, bool antialias = false ) : void
ClipRegion ( SKRegion region, SKClipOperation operation = SKClipOperation.Intersect ) : void
Concat ( SKMatrix &m ) : void
DrawBitmap ( SKBitmap bitmap, SKRect dest, SKPaint paint = null ) : void
DrawBitmap ( SKBitmap bitmap, SKRect source, SKRect dest, SKPaint paint = null ) : void
DrawBitmap ( SKBitmap bitmap, float x, float y, SKPaint paint = null ) : void
DrawBitmapLattice ( SKBitmap bitmap, SKLattice lattice, SKRect dst, SKPaint paint = null ) : void
DrawBitmapLattice ( SKBitmap bitmap, int xDivs, int yDivs, SKRect dst, SKPaint paint = null ) : void
DrawBitmapNinePatch ( SKBitmap bitmap, SKRectI center, SKRect dst, SKPaint paint = null ) : void
DrawCircle ( float cx, float cy, float radius, SKPaint paint ) : void
DrawColor ( SKColor color, SKBlendMode mode = SKBlendMode.Src ) : void
DrawImage ( SKImage image, SKRect dest, SKPaint paint = null ) : void
DrawImage ( SKImage image, SKRect source, SKRect dest, SKPaint paint = null ) : void
DrawImage ( SKImage image, float x, float y, SKPaint paint = null ) : void
DrawImageLattice ( SKImage image, SKLattice lattice, SKRect dst, SKPaint paint = null ) : void
DrawImageLattice ( SKImage image, int xDivs, int yDivs, SKRect dst, SKPaint paint = null ) : void
DrawImageNinePatch ( SKImage image, SKRectI center, SKRect dst, SKPaint paint = null ) : void
DrawLine ( float x0, float y0, float x1, float y1, SKPaint paint ) : void
DrawOval ( SKRect rect, SKPaint paint ) : void
DrawOval ( float cx, float cy, float rx, float ry, SKPaint paint ) : void
DrawPaint ( SKPaint paint ) : void
DrawPath ( SKPath path, SKPaint paint ) : void
DrawPicture ( SKPicture picture, SKMatrix &matrix, SKPaint paint = null ) : void
DrawPicture ( SKPicture picture, SKPaint paint = null ) : void
DrawPoint ( float x, float y, SKColor color ) : void
DrawPoint ( float x, float y, SKPaint paint ) : void
DrawPoints ( SKPointMode mode, SKPoint points, SKPaint paint ) : void
DrawPositionedText ( IntPtr buffer, int length, SKPoint points, SKPaint paint ) : void
DrawPositionedText ( string text, SKPoint points, SKPaint paint ) : void
DrawRect ( SKRect rect, SKPaint paint ) : void
DrawRegion ( SKRegion region, SKPaint paint ) : void
DrawRoundRect ( SKRect rect, float rx, float ry, SKPaint paint ) : void
DrawText ( IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint ) : void
DrawText ( IntPtr buffer, int length, float x, float y, SKPaint paint ) : void
DrawText ( string text, SKPath path, float hOffset, float vOffset, SKPaint paint ) : void
DrawText ( string text, float x, float y, SKPaint paint ) : void
Flush ( ) : void
GetClipBounds ( SKRect &bounds ) : bool
GetClipDeviceBounds ( SKRectI &bounds ) : bool
QuickReject ( SKPath path ) : bool
QuickReject ( SKRect rect ) : bool
ResetMatrix ( ) : void
Restore ( ) : void
RestoreToCount ( int count ) : void
RotateDegrees ( float degrees ) : void
RotateDegrees ( float degrees, float px, float py ) : void
RotateRadians ( float radians ) : void
RotateRadians ( float radians, float px, float py ) : void
SKCanvas ( SKBitmap bitmap ) : System
Save ( ) : int
SaveLayer ( SKPaint paint ) : int
SaveLayer ( SKRect limit, SKPaint paint ) : int
Scale ( SKPoint size ) : void
Scale ( float s ) : void
Scale ( float sx, float sy ) : void
Scale ( float sx, float sy, float px, float py ) : void
SetMatrix ( SKMatrix matrix ) : void
Skew ( SKPoint skew ) : void
Skew ( float sx, float sy ) : void
Translate ( SKPoint point ) : void
Translate ( float dx, float dy ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
ClipPath ( SKPath path, SKRegionOperation operation, bool antialias = false ) : void
ClipRect ( SKRect rect, SKRegionOperation operation, bool antialias = false ) : void
DrawColor ( SKColor color, SKXferMode mode ) : void
DrawText ( IntPtr buffer, int length, SKPoint points, SKPaint paint ) : void
DrawText ( string text, SKPoint points, SKPaint paint ) : void
SKCanvas ( IntPtr handle, bool owns ) : System

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Clear() 공개 메소드

public Clear ( SKColor color ) : void
color SKColor
리턴 void

ClipPath() 공개 메소드

public ClipPath ( SKPath path, SKClipOperation operation = SKClipOperation.Intersect, bool antialias = false ) : void
path SKPath
operation SKClipOperation
antialias bool
리턴 void

ClipRect() 공개 메소드

public ClipRect ( SKRect rect, SKClipOperation operation = SKClipOperation.Intersect, bool antialias = false ) : void
rect SKRect
operation SKClipOperation
antialias bool
리턴 void

ClipRegion() 공개 메소드

public ClipRegion ( SKRegion region, SKClipOperation operation = SKClipOperation.Intersect ) : void
region SKRegion
operation SKClipOperation
리턴 void

Concat() 공개 메소드

public Concat ( SKMatrix &m ) : void
m SKMatrix
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DrawBitmap() 공개 메소드

public DrawBitmap ( SKBitmap bitmap, SKRect dest, SKPaint paint = null ) : void
bitmap SKBitmap
dest SKRect
paint SKPaint
리턴 void

DrawBitmap() 공개 메소드

public DrawBitmap ( SKBitmap bitmap, SKRect source, SKRect dest, SKPaint paint = null ) : void
bitmap SKBitmap
source SKRect
dest SKRect
paint SKPaint
리턴 void

DrawBitmap() 공개 메소드

public DrawBitmap ( SKBitmap bitmap, float x, float y, SKPaint paint = null ) : void
bitmap SKBitmap
x float
y float
paint SKPaint
리턴 void

DrawBitmapLattice() 공개 메소드

public DrawBitmapLattice ( SKBitmap bitmap, SKLattice lattice, SKRect dst, SKPaint paint = null ) : void
bitmap SKBitmap
lattice SKLattice
dst SKRect
paint SKPaint
리턴 void

DrawBitmapLattice() 공개 메소드

public DrawBitmapLattice ( SKBitmap bitmap, int xDivs, int yDivs, SKRect dst, SKPaint paint = null ) : void
bitmap SKBitmap
xDivs int
yDivs int
dst SKRect
paint SKPaint
리턴 void

DrawBitmapNinePatch() 공개 메소드

public DrawBitmapNinePatch ( SKBitmap bitmap, SKRectI center, SKRect dst, SKPaint paint = null ) : void
bitmap SKBitmap
center SKRectI
dst SKRect
paint SKPaint
리턴 void

DrawCircle() 공개 메소드

public DrawCircle ( float cx, float cy, float radius, SKPaint paint ) : void
cx float
cy float
radius float
paint SKPaint
리턴 void

DrawColor() 공개 메소드

public DrawColor ( SKColor color, SKBlendMode mode = SKBlendMode.Src ) : void
color SKColor
mode SKBlendMode
리턴 void

DrawImage() 공개 메소드

public DrawImage ( SKImage image, SKRect dest, SKPaint paint = null ) : void
image SKImage
dest SKRect
paint SKPaint
리턴 void

DrawImage() 공개 메소드

public DrawImage ( SKImage image, SKRect source, SKRect dest, SKPaint paint = null ) : void
image SKImage
source SKRect
dest SKRect
paint SKPaint
리턴 void

DrawImage() 공개 메소드

public DrawImage ( SKImage image, float x, float y, SKPaint paint = null ) : void
image SKImage
x float
y float
paint SKPaint
리턴 void

DrawImageLattice() 공개 메소드

public DrawImageLattice ( SKImage image, SKLattice lattice, SKRect dst, SKPaint paint = null ) : void
image SKImage
lattice SKLattice
dst SKRect
paint SKPaint
리턴 void

DrawImageLattice() 공개 메소드

public DrawImageLattice ( SKImage image, int xDivs, int yDivs, SKRect dst, SKPaint paint = null ) : void
image SKImage
xDivs int
yDivs int
dst SKRect
paint SKPaint
리턴 void

DrawImageNinePatch() 공개 메소드

public DrawImageNinePatch ( SKImage image, SKRectI center, SKRect dst, SKPaint paint = null ) : void
image SKImage
center SKRectI
dst SKRect
paint SKPaint
리턴 void

DrawLine() 공개 메소드

public DrawLine ( float x0, float y0, float x1, float y1, SKPaint paint ) : void
x0 float
y0 float
x1 float
y1 float
paint SKPaint
리턴 void

DrawOval() 공개 메소드

public DrawOval ( SKRect rect, SKPaint paint ) : void
rect SKRect
paint SKPaint
리턴 void

DrawOval() 공개 메소드

public DrawOval ( float cx, float cy, float rx, float ry, SKPaint paint ) : void
cx float
cy float
rx float
ry float
paint SKPaint
리턴 void

DrawPaint() 공개 메소드

public DrawPaint ( SKPaint paint ) : void
paint SKPaint
리턴 void

DrawPath() 공개 메소드

public DrawPath ( SKPath path, SKPaint paint ) : void
path SKPath
paint SKPaint
리턴 void

DrawPicture() 공개 메소드

public DrawPicture ( SKPicture picture, SKMatrix &matrix, SKPaint paint = null ) : void
picture SKPicture
matrix SKMatrix
paint SKPaint
리턴 void

DrawPicture() 공개 메소드

public DrawPicture ( SKPicture picture, SKPaint paint = null ) : void
picture SKPicture
paint SKPaint
리턴 void

DrawPoint() 공개 메소드

public DrawPoint ( float x, float y, SKColor color ) : void
x float
y float
color SKColor
리턴 void

DrawPoint() 공개 메소드

public DrawPoint ( float x, float y, SKPaint paint ) : void
x float
y float
paint SKPaint
리턴 void

DrawPoints() 공개 메소드

public DrawPoints ( SKPointMode mode, SKPoint points, SKPaint paint ) : void
mode SKPointMode
points SKPoint
paint SKPaint
리턴 void

DrawPositionedText() 공개 메소드

public DrawPositionedText ( IntPtr buffer, int length, SKPoint points, SKPaint paint ) : void
buffer System.IntPtr
length int
points SKPoint
paint SKPaint
리턴 void

DrawPositionedText() 공개 메소드

public DrawPositionedText ( string text, SKPoint points, SKPaint paint ) : void
text string
points SKPoint
paint SKPaint
리턴 void

DrawRect() 공개 메소드

public DrawRect ( SKRect rect, SKPaint paint ) : void
rect SKRect
paint SKPaint
리턴 void

DrawRegion() 공개 메소드

public DrawRegion ( SKRegion region, SKPaint paint ) : void
region SKRegion
paint SKPaint
리턴 void

DrawRoundRect() 공개 메소드

public DrawRoundRect ( SKRect rect, float rx, float ry, SKPaint paint ) : void
rect SKRect
rx float
ry float
paint SKPaint
리턴 void

DrawText() 공개 메소드

public DrawText ( IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint ) : void
buffer System.IntPtr
length int
path SKPath
hOffset float
vOffset float
paint SKPaint
리턴 void

DrawText() 공개 메소드

public DrawText ( IntPtr buffer, int length, float x, float y, SKPaint paint ) : void
buffer System.IntPtr
length int
x float
y float
paint SKPaint
리턴 void

DrawText() 공개 메소드

public DrawText ( string text, SKPath path, float hOffset, float vOffset, SKPaint paint ) : void
text string
path SKPath
hOffset float
vOffset float
paint SKPaint
리턴 void

DrawText() 공개 메소드

public DrawText ( string text, float x, float y, SKPaint paint ) : void
text string
x float
y float
paint SKPaint
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

GetClipBounds() 공개 메소드

public GetClipBounds ( SKRect &bounds ) : bool
bounds SKRect
리턴 bool

GetClipDeviceBounds() 공개 메소드

public GetClipDeviceBounds ( SKRectI &bounds ) : bool
bounds SKRectI
리턴 bool

QuickReject() 공개 메소드

public QuickReject ( SKPath path ) : bool
path SKPath
리턴 bool

QuickReject() 공개 메소드

public QuickReject ( SKRect rect ) : bool
rect SKRect
리턴 bool

ResetMatrix() 공개 메소드

public ResetMatrix ( ) : void
리턴 void

Restore() 공개 메소드

public Restore ( ) : void
리턴 void

RestoreToCount() 공개 메소드

public RestoreToCount ( int count ) : void
count int
리턴 void

RotateDegrees() 공개 메소드

public RotateDegrees ( float degrees ) : void
degrees float
리턴 void

RotateDegrees() 공개 메소드

public RotateDegrees ( float degrees, float px, float py ) : void
degrees float
px float
py float
리턴 void

RotateRadians() 공개 메소드

public RotateRadians ( float radians ) : void
radians float
리턴 void

RotateRadians() 공개 메소드

public RotateRadians ( float radians, float px, float py ) : void
radians float
px float
py float
리턴 void

SKCanvas() 공개 메소드

public SKCanvas ( SKBitmap bitmap ) : System
bitmap SKBitmap
리턴 System

Save() 공개 메소드

public Save ( ) : int
리턴 int

SaveLayer() 공개 메소드

public SaveLayer ( SKPaint paint ) : int
paint SKPaint
리턴 int

SaveLayer() 공개 메소드

public SaveLayer ( SKRect limit, SKPaint paint ) : int
limit SKRect
paint SKPaint
리턴 int

Scale() 공개 메소드

public Scale ( SKPoint size ) : void
size SKPoint
리턴 void

Scale() 공개 메소드

public Scale ( float s ) : void
s float
리턴 void

Scale() 공개 메소드

public Scale ( float sx, float sy ) : void
sx float
sy float
리턴 void

Scale() 공개 메소드

public Scale ( float sx, float sy, float px, float py ) : void
sx float
sy float
px float
py float
리턴 void

SetMatrix() 공개 메소드

public SetMatrix ( SKMatrix matrix ) : void
matrix SKMatrix
리턴 void

Skew() 공개 메소드

public Skew ( SKPoint skew ) : void
skew SKPoint
리턴 void

Skew() 공개 메소드

public Skew ( float sx, float sy ) : void
sx float
sy float
리턴 void

Translate() 공개 메소드

public Translate ( SKPoint point ) : void
point SKPoint
리턴 void

Translate() 공개 메소드

public Translate ( float dx, float dy ) : void
dx float
dy float
리턴 void