C# 클래스 mtWPFScratchPad.Stroke

파일 보기 프로젝트 열기: RIT-Tool-Time/Cascade 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Point pt ) : void

Adds a point to the stroke.

AddToCanvas ( System.Windows.Controls.Canvas canvas ) : void

Add the complete stroke

Freeze ( ) : void

Seal the object.

To improve performance, Seal replaces the list with fixed array.

메소드 상세

Add() 공개 메소드

Adds a point to the stroke.
public Add ( Point pt ) : void
pt Point point to be added to the stroke
리턴 void

AddToCanvas() 공개 메소드

Add the complete stroke
public AddToCanvas ( System.Windows.Controls.Canvas canvas ) : void
canvas System.Windows.Controls.Canvas the canvas that hold all figures
리턴 void

Freeze() 공개 메소드

Seal the object.
To improve performance, Seal replaces the list with fixed array.
public Freeze ( ) : void
리턴 void