C# 클래스 Terrarium.Renderer.DirectX.DirectDrawClippedRect

Represents a sprite clipping structure that can be used to draw sprites between surfaces will full edge clipping. These are public members instead of property accessors because they sometimes need to be passed as ref or out arguments and these aren't supported on accessors.
파일 보기 프로젝트 열기: eugeniomiro/Terrarium 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ClipBottom bool
ClipLeft bool
ClipRight bool
ClipTop bool
Destination Rectangle
Invisible bool
Source Rectangle

공개 메소드들

메소드 설명
ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void

메소드 상세

ClipRectBounds() 공개 메소드

public ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void
dest Rectangle
bounds Rectangle
factor int
리턴 void

프로퍼티 상세

ClipBottom 공개적으로 프로퍼티

Has the sprite been clipped along the bottom
public bool ClipBottom
리턴 bool

ClipLeft 공개적으로 프로퍼티

Has the sprite been clipped along the left
public bool ClipLeft
리턴 bool

ClipRight 공개적으로 프로퍼티

Has the sprite been clipped along the right.
public bool ClipRight
리턴 bool

ClipTop 공개적으로 프로퍼티

Has the sprite been clipped along the top
public bool ClipTop
리턴 bool

Destination 공개적으로 프로퍼티

The destination rectangle
public Rectangle Destination
리턴 Rectangle

Invisible 공개적으로 프로퍼티

Has the sprite been clipped outside of the view
public bool Invisible
리턴 bool

Source 공개적으로 프로퍼티

The source rectangle
public Rectangle Source
리턴 Rectangle