C# Class FlaxEngine.GUI.SolidColorBrush

Implementation of IBrush for single color fill.
Inheritance: IBrush
显示文件 Open project: FlaxEngine/FlaxEngine

Public Methods

Method Description
Draw ( Rectangle rect, Color color ) : void
SolidColorBrush ( )

Initializes a new instance of the SolidColorBrush class.

SolidColorBrush ( Color color )

Initializes a new instance of the SolidColorBrush struct.

Method Details

Draw() public method

public Draw ( Rectangle rect, Color color ) : void
rect Rectangle
color Color
return void

SolidColorBrush() public method

Initializes a new instance of the SolidColorBrush class.
public SolidColorBrush ( )

SolidColorBrush() public method

Initializes a new instance of the SolidColorBrush struct.
public SolidColorBrush ( Color color )
color Color The color.