C# 클래스 FSO.Client.UI.Controls.UIImage

A drawable image that is part of the GUI. Cannot be clicked.
상속: FSO.Client.UI.Framework.UIElement
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BlockMouseEvent void

공개 메소드들

메소드 설명
BlockInput ( ) : void
Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
GetBounds ( ) : Rectangle
ListenForMouse ( UIMouseEvent callback ) : void

Listen for mouse events on the whole image

SetSize ( float width, float height ) : void
UIImage ( ) : System
UIImage ( ITextureRef Texture ) : System
UIImage ( Microsoft.Xna.Framework.Graphics.Texture2D Texture ) : System
Update ( UpdateState statex ) : void
With9Slice ( int marginLeft, int marginRight, int marginTop, int marginBottom ) : UIImage

Sets 9 slice options on the image, this allows it to be cut into 9 pieces for scaling

비공개 메소드들

메소드 설명
BlockMouseEvent ( UIMouseEventType type, UpdateState state ) : void

메소드 상세

BlockInput() 공개 메소드

public BlockInput ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
SBatch FSO.Client.UI.Framework.UISpriteBatch
리턴 void

GetBounds() 공개 메소드

public GetBounds ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

ListenForMouse() 공개 메소드

Listen for mouse events on the whole image
public ListenForMouse ( UIMouseEvent callback ) : void
callback UIMouseEvent
리턴 void

SetSize() 공개 메소드

public SetSize ( float width, float height ) : void
width float
height float
리턴 void

UIImage() 공개 메소드

public UIImage ( ) : System
리턴 System

UIImage() 공개 메소드

public UIImage ( ITextureRef Texture ) : System
Texture ITextureRef
리턴 System

UIImage() 공개 메소드

public UIImage ( Microsoft.Xna.Framework.Graphics.Texture2D Texture ) : System
Texture Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

Update() 공개 메소드

public Update ( UpdateState statex ) : void
statex FSO.Common.Rendering.Framework.Model.UpdateState
리턴 void

With9Slice() 공개 메소드

Sets 9 slice options on the image, this allows it to be cut into 9 pieces for scaling
public With9Slice ( int marginLeft, int marginRight, int marginTop, int marginBottom ) : UIImage
marginLeft int
marginRight int
marginTop int
marginBottom int
리턴 UIImage