C# 클래스 Painting.Ink.Controls.CanvasRenderTargetExtension

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

공개 메소드들

메소드 설명
Clone ( this target ) : CanvasRenderTarget
CreateEmpty ( ICanvasResourceCreator device, Size size, float dpi ) : CanvasRenderTarget
CreateEmpty ( ICanvasResourceCreatorWithDpi device, Size size ) : CanvasRenderTarget
DrawLine ( this target, Vector2 from, Vector2 to, Color color, float strokeWidth, CanvasStrokeStyle strokeStyle, float opacity ) : void
EraseLine ( this target, Vector2 from, Vector2 to, float strokeWidth, CanvasStrokeStyle strokeStyle ) : void
GetPixelColor ( this target, int left, int top ) : Color

메소드 상세

Clone() 공개 정적인 메소드

public static Clone ( this target ) : CanvasRenderTarget
target this
리턴 CanvasRenderTarget

CreateEmpty() 공개 정적인 메소드

public static CreateEmpty ( ICanvasResourceCreator device, Size size, float dpi ) : CanvasRenderTarget
device ICanvasResourceCreator
size Windows.Foundation.Size
dpi float
리턴 CanvasRenderTarget

CreateEmpty() 공개 정적인 메소드

public static CreateEmpty ( ICanvasResourceCreatorWithDpi device, Size size ) : CanvasRenderTarget
device ICanvasResourceCreatorWithDpi
size Windows.Foundation.Size
리턴 CanvasRenderTarget

DrawLine() 공개 정적인 메소드

public static DrawLine ( this target, Vector2 from, Vector2 to, Color color, float strokeWidth, CanvasStrokeStyle strokeStyle, float opacity ) : void
target this
from Vector2
to Vector2
color Color
strokeWidth float
strokeStyle CanvasStrokeStyle
opacity float
리턴 void

EraseLine() 공개 정적인 메소드

public static EraseLine ( this target, Vector2 from, Vector2 to, float strokeWidth, CanvasStrokeStyle strokeStyle ) : void
target this
from Vector2
to Vector2
strokeWidth float
strokeStyle CanvasStrokeStyle
리턴 void

GetPixelColor() 공개 정적인 메소드

public static GetPixelColor ( this target, int left, int top ) : Color
target this
left int
top int
리턴 Color