C# 클래스 SmartboyDevelopments.Haxxit.MonoGame.PrimiviteDrawing

파일 보기 프로젝트 열기: smartboyathome/Haxxit

공개 메소드들

메소드 설명
DrawCircle ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch spritbatch, Vector2 center, float radius, Color color, int lineWidth = 2, int segments = 16 ) : void
DrawLineSegment ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch spriteBatch, Vector2 point1, Vector2 point2, Color color, int lineWidth ) : void
DrawPolygon ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch spriteBatch, Vector2 vertex, int count, Color color, int lineWidth ) : void
DrawRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch batch, Rectangle area ) : void
DrawRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch batch, Rectangle area, int width, Color color ) : void

메소드 상세

DrawCircle() 공개 정적인 메소드

public static DrawCircle ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch spritbatch, Vector2 center, float radius, Color color, int lineWidth = 2, int segments = 16 ) : void
whitePixel Microsoft.Xna.Framework.Graphics.Texture2D
spritbatch Microsoft.Xna.Framework.Graphics.SpriteBatch
center Vector2
radius float
color Color
lineWidth int
segments int
리턴 void

DrawLineSegment() 공개 정적인 메소드

public static DrawLineSegment ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch spriteBatch, Vector2 point1, Vector2 point2, Color color, int lineWidth ) : void
whitePixel Microsoft.Xna.Framework.Graphics.Texture2D
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
point1 Vector2
point2 Vector2
color Color
lineWidth int
리턴 void

DrawPolygon() 공개 정적인 메소드

public static DrawPolygon ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch spriteBatch, Vector2 vertex, int count, Color color, int lineWidth ) : void
whitePixel Microsoft.Xna.Framework.Graphics.Texture2D
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
vertex Vector2
count int
color Color
lineWidth int
리턴 void

DrawRectangle() 공개 정적인 메소드

public static DrawRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch batch, Rectangle area ) : void
whitePixel Microsoft.Xna.Framework.Graphics.Texture2D
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
area Microsoft.Xna.Framework.Rectangle
리턴 void

DrawRectangle() 공개 정적인 메소드

public static DrawRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D whitePixel, SpriteBatch batch, Rectangle area, int width, Color color ) : void
whitePixel Microsoft.Xna.Framework.Graphics.Texture2D
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
area Microsoft.Xna.Framework.Rectangle
width int
color Color
리턴 void