Class ScaledBink
A Bink Video file.
Inherited Members
Namespace: LemonUI.Elements
Assembly: LemonUI.SHVDN3.dll
Syntax
public class ScaledBink : BaseElement, I2Dimensional, IRecalculable, IDrawable, IDisposable
Constructors
View SourceScaledBink(string)
Creates a new Bink Video playback.
Declaration
public ScaledBink(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the bik file. |
ScaledBink(string, PointF, SizeF)
Creates a new Bink Video playback.
Declaration
public ScaledBink(string name, PointF pos, SizeF size)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the bik file. |
PointF | pos | The position of the video window. |
SizeF | size | The size of the video window. |
ScaledBink(string, SizeF)
Creates a new Bink Video playback.
Declaration
public ScaledBink(string name, SizeF size)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the bik file. |
SizeF | size | The size of the video window. |
Properties
View SourceId
The ID of the Bink Video Instance.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
int |
Name
The name of the Bink Video file.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceDispose()
Disposes the Bink Video ID.
Declaration
public void Dispose()
Draw()
Draws the Bink Movie at the specified location.
Declaration
public override void Draw()
Overrides
View Source~ScaledBink()
Finalizes an instance of the ScaledBink class.
Declaration
protected ~ScaledBink()
Recalculate()
Recalculates the size and position of this item.
Declaration
public override void Recalculate()
Overrides
View SourceStop()
Stops the playback of the Bink Video.
Declaration
public void Stop()
Remarks
If Draw() is called after this function. playback will start again.