C# Class FairyGUI.Shape

Inheritance: DisplayObject
显示文件 Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

DrawEllipse ( Color fillColor ) : void

DrawPolygon ( Vector2 points, Color fillColor ) : void

DrawRect ( int lineSize, Color colors ) : void

DrawRect ( int lineSize, Color lineColor, Color fillColor ) : void

Shape ( ) : UnityEngine

Update ( UpdateContext context ) : void

Protected Methods

Method Description
HitTest ( ) : DisplayObject

Method Details

Clear() public method

public Clear ( ) : void
return void

DrawEllipse() public method

public DrawEllipse ( Color fillColor ) : void
fillColor UnityEngine.Color
return void

DrawPolygon() public method

public DrawPolygon ( Vector2 points, Color fillColor ) : void
points UnityEngine.Vector2
fillColor UnityEngine.Color
return void

DrawRect() public method

public DrawRect ( int lineSize, Color colors ) : void
lineSize int
colors UnityEngine.Color
return void

DrawRect() public method

public DrawRect ( int lineSize, Color lineColor, Color fillColor ) : void
lineSize int
lineColor UnityEngine.Color
fillColor UnityEngine.Color
return void

HitTest() protected method

protected HitTest ( ) : DisplayObject
return DisplayObject

Shape() public method

public Shape ( ) : UnityEngine
return UnityEngine

Update() public method

public Update ( UpdateContext context ) : void
context UpdateContext
return void