Class LemonUI::Elements::ScaledBink
ClassList > LemonUI > Elements > ScaledBink
A Bink Video file.
Inherits the following classes: LemonUI::Elements::BaseElement, IDisposable
Public Properties
| Type | Name |
|---|---|
| property int | Id The ID of the Bink Video Instance. |
| property string?? | Name The name of the Bink Video file. |
Public Properties inherited from LemonUI::Elements::BaseElement
See LemonUI::Elements::BaseElement
| Type | Name |
|---|---|
| property Color | Color The Color of the drawable. |
| property float | Heading The rotation of the drawable. |
| property PointF | Position The Position of the drawable. |
| property SizeF | Size The Size of the drawable. |
Public Properties inherited from LemonUI::Elements::I2Dimensional
See LemonUI::Elements::I2Dimensional
| Type | Name |
|---|---|
| property Color | Color The Color of the drawable. |
| property PointF | Position The Position of the drawable. |
| property SizeF | Size The Size of the drawable. |
Public Functions
| Type | Name |
|---|---|
| void | Dispose () Disposes the Bink Video ID. |
| virtual override void | Draw () Draws the Bink Movie at the specified location. |
| virtual override void | Recalculate () Recalculates the size and position of this item. |
__ |
| | ScaledBink (string name)
Creates a new Bink Video playback. |
| | ScaledBink (string name, SizeF size)
Creates a new Bink Video playback. |
| | ScaledBink (string name, PointF pos, SizeF size)
Creates a new Bink Video playback. |
| void | Stop ()
Stops the playback of the Bink Video. |
Public Functions inherited from LemonUI::Elements::BaseElement
See LemonUI::Elements::BaseElement
| Type | Name |
|---|---|
| BaseElement (PointF pos, SizeF size) Creates a new BaseElement with the specified Position and Size. |
|
| virtual abstract void | Draw () = 0 Draws the item on the screen. |
| virtual void | Recalculate () Recalculates the size and position of this item. |
Public Functions inherited from LemonUI::IRecalculable
| Type | Name |
|---|---|
| void | Recalculate () Recalculates the values. |
Public Functions inherited from LemonUI::IDrawable
| Type | Name |
|---|---|
| void | Draw () Draws the item on the screen. |
Public Properties Documentation
property Id
int LemonUI.Elements.ScaledBink.Id;
property Name
string?? LemonUI.Elements.ScaledBink.Name;
Public Functions Documentation
function Dispose
inline void LemonUI::Elements::ScaledBink::Dispose ()
function Draw
inline virtual override void LemonUI::Elements::ScaledBink::Draw ()
Implements LemonUI::Elements::BaseElement::Draw
function Recalculate
inline virtual override void LemonUI::Elements::ScaledBink::Recalculate ()
Implements LemonUI::Elements::BaseElement::Recalculate
function ScaledBink [1/3]
Creates a new Bink Video playback.
inline LemonUI::Elements::ScaledBink::ScaledBink (
string name
)
Parameters:
nameThe name of the bik file.
function ScaledBink [2/3]
Creates a new Bink Video playback.
inline LemonUI::Elements::ScaledBink::ScaledBink (
string name,
SizeF size
)
Parameters:
nameThe name of the bik file.sizeThe size of the video window.
function ScaledBink [3/3]
Creates a new Bink Video playback.
inline LemonUI::Elements::ScaledBink::ScaledBink (
string name,
PointF pos,
SizeF size
)
Parameters:
nameThe name of the bik file.posThe position of the video window.sizeThe size of the video window.
function Stop
Stops the playback of the Bink Video.
inline void LemonUI::Elements::ScaledBink::Stop ()
If Draw is called after this function. playback will start again.
The documentation for this class was generated from the following file repos/LemonUI/LemonUI/Elements/ScaledBink.cs