C# Класс SubLib.Core.Timing.FrameRateOperator

Performs frame rate operations.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ChangeCurrent ( float frameRate ) : void

Changes the current frame rate of the subtitles.

This changes the frame rate currently being used with the subtitles, which is sometimes refered to as the output frame rate.

ChangeOriginal ( float frameRate ) : void

Updates the subtitles' frames using the specified frame rate as the one they had when they were opened.

This results on having the subtitles with the frames they would have if they had been opened with this frame rate. The original frame rate is sometimes refered to as the input frame rate.

FrameRateOperator ( Subtitles subtitles ) : SubLib.Core.Domain

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

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

Changes the current frame rate of the subtitles.
This changes the frame rate currently being used with the subtitles, which is sometimes refered to as the output frame rate.
public ChangeCurrent ( float frameRate ) : void
frameRate float The new frame rate to be used.
Результат void

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

Updates the subtitles' frames using the specified frame rate as the one they had when they were opened.
This results on having the subtitles with the frames they would have if they had been opened with this frame rate. The original frame rate is sometimes refered to as the input frame rate.
public ChangeOriginal ( float frameRate ) : void
frameRate float The original subtitles' frame rate.
Результат void

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

public FrameRateOperator ( Subtitles subtitles ) : SubLib.Core.Domain
subtitles SubLib.Core.Domain.Subtitles
Результат SubLib.Core.Domain