C# Класс GameEngine.ScreenObject

Represents a Object that is to be displayed on the Screen(Canvas)
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Reposition ( float x, float y ) : void
ScreenObject ( string source, int zIndex, MouseButtonEventHandler uIElement_OnMouseDown = null ) : System
SetOpacity ( double value ) : void
ToCanvasPosition ( ) : Vector2

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

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

public Reposition ( float x, float y ) : void
x float
y float
Результат void

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

public ScreenObject ( string source, int zIndex, MouseButtonEventHandler uIElement_OnMouseDown = null ) : System
source string
zIndex int
uIElement_OnMouseDown MouseButtonEventHandler
Результат System

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

public SetOpacity ( double value ) : void
value double
Результат void

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

public ToCanvasPosition ( ) : Vector2
Результат Vector2