C# 클래스 ThoNohT.NohBoard.Keyboard.ElementDefinitions.ElementDefinition

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

보호된 프로퍼티들

프로퍼티 타입 설명
StyleVersion int

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetBoundingBox ( ) : Rectangle

Returns the bounding box of this element.

Inside ( Point point ) : bool

Calculates whether the specified point is inside this element.

Translate ( int dx, int dy ) : ElementDefinition

Translates the element, moving it the specified distance.

메소드 상세

GetBoundingBox() 공개 추상적인 메소드

Returns the bounding box of this element.
public abstract GetBoundingBox ( ) : Rectangle
리턴 System.Drawing.Rectangle

Inside() 공개 추상적인 메소드

Calculates whether the specified point is inside this element.
public abstract Inside ( Point point ) : bool
point System.Drawing.Point The point.
리턴 bool

Translate() 공개 추상적인 메소드

Translates the element, moving it the specified distance.
public abstract Translate ( int dx, int dy ) : ElementDefinition
dx int The distance along the x-axis.
dy int The distance along the y-axis.
리턴 ElementDefinition

프로퍼티 상세

StyleVersion 보호되어 있는 프로퍼티

Compare this against the dependency counter to know when to update brushes.
protected int StyleVersion
리턴 int