C# 클래스 Treefrog.Framework.Model.Layer

상속: INamedResource, IPropertyProvider, ICloneable
파일 보기 프로젝트 열기: jaquadro/Treefrog 1 사용 예제들

Private Properties

프로퍼티 타입 설명
NamePropertyChangedHandler void
OpacityPropertyChangedHandler void
RasterModePropertyChangedHandler void
VisiblePropertyChangedHandler void

공개 메소드들

메소드 설명
Clone ( ) : object
RequestNewSize ( int originX, int originY, int pixelsWide, int pixelsHigh ) : void

Makes a request to the layer to resize itself to overall pixel dimensions equal to or greater than the requested size.

If an implementing layer's IsResizable property returns true, then it is required to honor the new size request. Due to differences in layer resolution, an implementing layer may not be able to exactly match the requested pixel size. However, an implementing layer is required to never pick a size smaller than the request.

ResetModified ( ) : void

보호된 메소드들

메소드 설명
Layer ( string name ) : System
Layer ( string name, Layer layer ) : System
OnGridChanged ( EventArgs e ) : void
OnLayerSizeChanged ( EventArgs e ) : void
OnModified ( EventArgs e ) : void

Raises the Modified event.

OnNameChanged ( NameChangedEventArgs e ) : void
OnNameChanging ( NameChangingEventArgs e ) : void
OnOpacityChanged ( EventArgs e ) : void
OnPropertyProviderNameChanged ( EventArgs e ) : void
OnRasterModeChanged ( EventArgs e ) : void
OnVisibilityChanged ( EventArgs e ) : void

비공개 메소드들

메소드 설명
NamePropertyChangedHandler ( object sender, EventArgs e ) : void
OpacityPropertyChangedHandler ( object sender, EventArgs e ) : void
RasterModePropertyChangedHandler ( object sender, EventArgs e ) : void
VisiblePropertyChangedHandler ( object sender, EventArgs e ) : void

메소드 상세

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

public abstract Clone ( ) : object
리턴 object

Layer() 보호된 메소드

protected Layer ( string name ) : System
name string
리턴 System

Layer() 보호된 메소드

protected Layer ( string name, Layer layer ) : System
name string
layer Layer
리턴 System

OnGridChanged() 보호된 메소드

protected OnGridChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLayerSizeChanged() 보호된 메소드

protected OnLayerSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnModified() 보호된 메소드

Raises the Modified event.
protected OnModified ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnNameChanged() 보호된 메소드

protected OnNameChanged ( NameChangedEventArgs e ) : void
e NameChangedEventArgs
리턴 void

OnNameChanging() 보호된 메소드

protected OnNameChanging ( NameChangingEventArgs e ) : void
e NameChangingEventArgs
리턴 void

OnOpacityChanged() 보호된 메소드

protected OnOpacityChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPropertyProviderNameChanged() 보호된 메소드

protected OnPropertyProviderNameChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnRasterModeChanged() 보호된 메소드

protected OnRasterModeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnVisibilityChanged() 보호된 메소드

protected OnVisibilityChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

RequestNewSize() 공개 메소드

Makes a request to the layer to resize itself to overall pixel dimensions equal to or greater than the requested size.
If an implementing layer's IsResizable property returns true, then it is required to honor the new size request. Due to differences in layer resolution, an implementing layer may not be able to exactly match the requested pixel size. However, an implementing layer is required to never pick a size smaller than the request.
public RequestNewSize ( int originX, int originY, int pixelsWide, int pixelsHigh ) : void
originX int
originY int
pixelsWide int The requested minimum width of the layer in pixels.
pixelsHigh int The request minimum height of the layer in pixels.
리턴 void

ResetModified() 공개 메소드

public ResetModified ( ) : void
리턴 void