Method | Description | |
---|---|---|
Adjust ( System.TimeSpan startTime, System.TimeSpan endTime ) : bool |
Auto adjusts the subtitles given the correct times for the first and last subtitle. The subtitles are first shifted to the first subtitle's correct time, and then proportionally adjusted using the last subtitle's correct time. |
|
Adjust ( int startIndex, System.TimeSpan startTime, int endIndex, System.TimeSpan endTime ) : bool |
Auto adjusts a range of subtitles given their first and last correct times. The subtitles are first shifted to the first subtitle's correct time, and then proportionally adjusted using the last subtitle's correct time. |
|
Adjust ( int startFrame, int endFrame ) : bool |
Auto adjusts the subtitles given the correct frames for the first and last subtitle. The subtitles are first shifted to the first subtitle's correct frame, and then proportionally adjusted using the last subtitle's correct frame. |
|
Adjust ( int startIndex, int startFrame, int endIndex, int endFrame ) : bool |
Auto adjusts a range of subtitles given their first and last correct frames. The subtitles are first shifted to the first subtitle's correct frame, and then proportionally adjusted using the last subtitle's correct frame. |
|
AdjustOperator ( |
public Adjust ( System.TimeSpan startTime, System.TimeSpan endTime ) : bool | ||
startTime | System.TimeSpan | The correct start time for the first subtitle. |
endTime | System.TimeSpan | The correct start time for the last subtitle. |
return | bool |
public Adjust ( int startIndex, System.TimeSpan startTime, int endIndex, System.TimeSpan endTime ) : bool | ||
startIndex | int | The subtitle index to start the adjustment with. |
startTime | System.TimeSpan | The correct start time for the first subtitle. |
endIndex | int | The subtitle index to end the adjustment with. |
endTime | System.TimeSpan | The correct start time for the last subtitle. |
return | bool |
public Adjust ( int startFrame, int endFrame ) : bool | ||
startFrame | int | The correct start frame for the first subtitle. |
endFrame | int | The correct start frame for the last subtitle. |
return | bool |
public Adjust ( int startIndex, int startFrame, int endIndex, int endFrame ) : bool | ||
startIndex | int | The subtitle index to start the adjustment with. |
startFrame | int | The correct start frame for the first subtitle. |
endIndex | int | The subtitle index to end the adjustment with. |
endFrame | int | The correct start frame for the last subtitle. |
return | bool |
public AdjustOperator ( |
||
subtitles | ||
return | SubLib.Core.Domain |