Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Graphics.GUI.MyRichLabelImage Class Reference
Inheritance diagram for Sandbox.Graphics.GUI.MyRichLabelImage:
Sandbox.Graphics.GUI.MyRichLabelPart

Public Member Functions

 MyRichLabelImage (string texture, Vector2 size, Vector4 color)
 
override bool Draw (Vector2 position)
 Draws image More...
 
override bool HandleInput (Vector2 position)
 
- Public Member Functions inherited from Sandbox.Graphics.GUI.MyRichLabelPart
virtual void AppendTextTo (StringBuilder builder)
 

Properties

string Texture [get, set]
 
Vector4 Color [get, set]
 
new Vector2 Size [get, set]
 
- Properties inherited from Sandbox.Graphics.GUI.MyRichLabelPart
virtual Vector2 Size [get, protected set]
 

Detailed Description

Definition at line 10 of file MyRichLabelImage.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.GUI.MyRichLabelImage.MyRichLabelImage ( string  texture,
Vector2  size,
Vector4  color 
)
inline

Definition at line 16 of file MyRichLabelImage.cs.

Member Function Documentation

override bool Sandbox.Graphics.GUI.MyRichLabelImage.Draw ( Vector2  position)
inlinevirtual

Draws image

Parameters
positionTop-left position
Returns

Implements Sandbox.Graphics.GUI.MyRichLabelPart.

Definition at line 46 of file MyRichLabelImage.cs.

override bool Sandbox.Graphics.GUI.MyRichLabelImage.HandleInput ( Vector2  position)
inlinevirtual

Implements Sandbox.Graphics.GUI.MyRichLabelPart.

Definition at line 52 of file MyRichLabelImage.cs.

Property Documentation

Vector4 Sandbox.Graphics.GUI.MyRichLabelImage.Color
getset

Definition at line 30 of file MyRichLabelImage.cs.

new Vector2 Sandbox.Graphics.GUI.MyRichLabelImage.Size
getset

Definition at line 36 of file MyRichLabelImage.cs.

string Sandbox.Graphics.GUI.MyRichLabelImage.Texture
getset

Definition at line 24 of file MyRichLabelImage.cs.


The documentation for this class was generated from the following file: