C# 클래스 MTScratchPad.Stroke

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

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

Adds a point to the stroke.

Draw ( Graphics graphics ) : void

Draws the complete stroke

DrawLast ( Graphics graphics ) : void

Draws only last segment of the stroke.

Seal ( ) : 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

Draw() 공개 메소드

Draws the complete stroke
public Draw ( Graphics graphics ) : void
graphics System.Drawing.Graphics the form's graphics object
리턴 void

DrawLast() 공개 메소드

Draws only last segment of the stroke.
public DrawLast ( Graphics graphics ) : void
graphics System.Drawing.Graphics the drawing surface
리턴 void

Seal() 공개 메소드

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