C# 클래스 Spryt.ImageInfo

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

공개 메소드들

메소드 설명
AddLayer ( int index = -1, string label = null ) : void
ImageInfo ( ToolPanel toolInfoPanel, String filePath ) : System
ImageInfo ( ToolPanel toolInfoPanel, int width, int height, String name = "untitled.png" ) : System
InBounds ( int x, int y ) : bool
PushState ( ) : void
RemoveLayer ( int index ) : void
Save ( String filePath = null ) : void
SwapLayers ( int indexA, int indexB ) : void
UpdateLayers ( ) : void

비공개 메소드들

메소드 설명
Load ( Stream stream ) : void
Load ( String filePath ) : void
Save ( Stream stream ) : void
SetupCanvas ( ToolPanel toolInfoPanel ) : void
SetupDefaultGrid ( ) : void
Wrap ( int a, int b ) : int

메소드 상세

AddLayer() 공개 메소드

public AddLayer ( int index = -1, string label = null ) : void
index int
label string
리턴 void

ImageInfo() 공개 메소드

public ImageInfo ( ToolPanel toolInfoPanel, String filePath ) : System
toolInfoPanel ToolPanel
filePath String
리턴 System

ImageInfo() 공개 메소드

public ImageInfo ( ToolPanel toolInfoPanel, int width, int height, String name = "untitled.png" ) : System
toolInfoPanel ToolPanel
width int
height int
name String
리턴 System

InBounds() 공개 메소드

public InBounds ( int x, int y ) : bool
x int
y int
리턴 bool

PushState() 공개 메소드

public PushState ( ) : void
리턴 void

RemoveLayer() 공개 메소드

public RemoveLayer ( int index ) : void
index int
리턴 void

Save() 공개 메소드

public Save ( String filePath = null ) : void
filePath String
리턴 void

SwapLayers() 공개 메소드

public SwapLayers ( int indexA, int indexB ) : void
indexA int
indexB int
리턴 void

UpdateLayers() 공개 메소드

public UpdateLayers ( ) : void
리턴 void