C# Класс WaveEngine.Components.UI.BorderRenderer

Draw a simple border over controls
Наследование: Drawable2D
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
BorderRenderer ( ) : System

Initializes a new instance of the BorderRenderer class.

BorderRenderer ( System.Color color ) : System

Initializes a new instance of the BorderRenderer class.

BorderRenderer ( string name, Type layerType, System.Color color ) : System

Initializes a new instance of the BorderRenderer class.

Draw ( System.TimeSpan gameTime ) : void

Allows to perform custom drawing.

This method will only be called if all the following points are true: The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Описание методов

BorderRenderer() публичный Метод

Initializes a new instance of the BorderRenderer class.
public BorderRenderer ( ) : System
Результат System

BorderRenderer() публичный Метод

Initializes a new instance of the BorderRenderer class.
public BorderRenderer ( System.Color color ) : System
color System.Color The color.
Результат System

BorderRenderer() публичный Метод

Initializes a new instance of the BorderRenderer class.
public BorderRenderer ( string name, Type layerType, System.Color color ) : System
name string The name.
layerType System.Type Type of the layer.
color System.Color The color.
Результат System

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

Draw() публичный Метод

Allows to perform custom drawing.
This method will only be called if all the following points are true: The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
Результат void