C# 클래스 SubLib.Core.Domain.Frames

Represents the frames of a subtitle.
Frames and Times always exist for any Subtitle. This class is automatically constructed when constructing a Subtitle.
파일 보기 프로젝트 열기: GNOME/gnome-subtitles 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Frames SubLib.Core.Timing
Frames SubLib.Core.Timing
Scale void
SetFieldsForDeepClone void

공개 메소드들

메소드 설명
Clone ( Subtitle subtitleClone ) : Frames
Shift ( int frames ) : void

Shifts the subtitle with a specified amount of frames.

ToString ( ) : string

비공개 메소드들

메소드 설명
Frames ( Subtitle subtitle ) : SubLib.Core.Timing
Frames ( Subtitle subtitle, int start, int end ) : SubLib.Core.Timing
Scale ( double factor, int baseFrame ) : void
SetFieldsForDeepClone ( Subtitle subtitle ) : void

메소드 상세

Clone() 공개 메소드

public Clone ( Subtitle subtitleClone ) : Frames
subtitleClone Subtitle
리턴 Frames

Shift() 공개 메소드

Shifts the subtitle with a specified amount of frames.
public Shift ( int frames ) : void
frames int The number of frames to shift the subtitle with, which can be positive or negative.
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string