Package Subtitles :: Module Line :: Class Line
[hide private]
[frames] | no frames]

Class Line

source code

Each line of a subtile will have its own class to control the number of characters and other features

Instance Methods [hide private]
 
__init__(self, text)
Each line has its own text
source code
 
_count(self, text)
We have to make our own count function because of pango markups and end of lines.
source code