I hope this works well enough

Documentation For Module Rasterizer

Rasterizer.enableVisibility
enableVisibility doc
Rasterizer.error
Rasterizer.error.capitalize
S.capitalize() -> string

Return a copy of the string S with only its first character
capitalized.
Rasterizer.error.center
S.center(width) -> string

Return S centered in a string of length width. Padding is done
using spaces.
Rasterizer.error.count
S.count(sub[, start[, end]]) -> int

Return the number of occurrences of substring sub in string
S[start:end].  Optional arguments start and end are
interpreted as in slice notation.
Rasterizer.error.encode
S.encode([encoding[,errors]]) -> string

Return an encoded string version of S. Default encoding is the current
default string encoding. errors may be given to set a different error
handling scheme. Default is 'strict' meaning that encoding errors raise
a ValueError. Other possible values are 'ignore' and 'replace'.
Rasterizer.error.endswith
S.endswith(suffix[, start[, end]]) -> int

Return 1 if S ends with the specified suffix, otherwise return 0.  With
optional start, test S beginning at that position.  With optional end, stop
comparing S at that position.
Rasterizer.error.expandtabs
S.expandtabs([tabsize]) -> string

Return a copy of S where all tab characters are expanded using spaces.
If tabsize is not given, a tab size of 8 characters is assumed.
Rasterizer.error.find
S.find(sub [,start [,end]]) -> int

Return the lowest index in S where substring sub is found,
such that sub is contained within s[start,end].  Optional
arguments start and end are interpreted as in slice notation.

Return -1 on failure.
Rasterizer.error.index
S.index(sub [,start [,end]]) -> int

Like S.find() but raise ValueError when the substring is not found.
Rasterizer.error.isalnum
S.isalnum() -> int

Return 1 if  all characters in S are alphanumeric
and there is at least one character in S, 0 otherwise.
Rasterizer.error.isalpha
S.isalpha() -> int

Return 1 if  all characters in S are alphabetic
and there is at least one character in S, 0 otherwise.
Rasterizer.error.isdigit
S.isdigit() -> int

Return 1 if there are only digit characters in S,
0 otherwise.
Rasterizer.error.islower
S.islower() -> int

Return 1 if  all cased characters in S are lowercase and there is
at least one cased character in S, 0 otherwise.
Rasterizer.error.isspace
S.isspace() -> int

Return 1 if there are only whitespace characters in S,
0 otherwise.
Rasterizer.error.istitle
S.istitle() -> int

Return 1 if S is a titlecased string, i.e. uppercase characters
may only follow uncased characters and lowercase characters only cased
ones. Return 0 otherwise.
Rasterizer.error.isupper
S.isupper() -> int

Return 1 if  all cased characters in S are uppercase and there is
at least one cased character in S, 0 otherwise.
Rasterizer.error.join
S.join(sequence) -> string

Return a string which is the concatenation of the strings in the
sequence.  The separator between elements is S.
Rasterizer.error.ljust
S.ljust(width) -> string

Return S left justified in a string of length width. Padding is
done using spaces.
Rasterizer.error.lower
S.lower() -> string

Return a copy of the string S converted to lowercase.
Rasterizer.error.lstrip
S.lstrip() -> string

Return a copy of the string S with leading whitespace removed.
Rasterizer.error.replace
S.replace (old, new[, maxsplit]) -> string

Return a copy of string S with all occurrences of substring
old replaced by new.  If the optional argument maxsplit is
given, only the first maxsplit occurrences are replaced.
Rasterizer.error.rfind
S.rfind(sub [,start [,end]]) -> int

Return the highest index in S where substring sub is found,
such that sub is contained within s[start,end].  Optional
arguments start and end are interpreted as in slice notation.

Return -1 on failure.
Rasterizer.error.rindex
S.rindex(sub [,start [,end]]) -> int

Like S.rfind() but raise ValueError when the substring is not found.
Rasterizer.error.rjust
S.rjust(width) -> string

Return S right justified in a string of length width. Padding is
done using spaces.
Rasterizer.error.rstrip
S.rstrip() -> string

Return a copy of the string S with trailing whitespace removed.
Rasterizer.error.split
S.split([sep [,maxsplit]]) -> list of strings

Return a list of the words in the string S, using sep as the
delimiter string.  If maxsplit is given, at most maxsplit
splits are done. If sep is not specified, any whitespace string
is a separator.
Rasterizer.error.splitlines
S.splitlines([keepends]]) -> list of strings

Return a list of the lines in S, breaking at line boundaries.
Line breaks are not included in the resulting list unless keepends
is given and true.
Rasterizer.error.startswith
S.startswith(prefix[, start[, end]]) -> int

Return 1 if S starts with the specified prefix, otherwise return 0.  With
optional start, test S beginning at that position.  With optional end, stop
comparing S at that position.
Rasterizer.error.strip
S.strip() -> string

Return a copy of the string S with leading and trailing
whitespace removed.
Rasterizer.error.swapcase
S.swapcase() -> string

Return a copy of the string S with uppercase characters
converted to lowercase and vice versa.
Rasterizer.error.title
S.title() -> string

Return a titlecased version of S, i.e. words start with uppercase
characters, all remaining cased characters have lowercase.
Rasterizer.error.translate
S.translate(table [,deletechars]) -> string

Return a copy of the string S, where all characters occurring
in the optional argument deletechars are removed, and the
remaining characters have been mapped through the given
translation table, which must be a string of length 256.
Rasterizer.error.upper
S.upper() -> string

Return a copy of the string S converted to uppercase.
Rasterizer.getWindowHeight
getWindowHeight doc
Rasterizer.getWindowWidth
getWindowWidth doc
Rasterizer.makeScreenshot
make Screenshot doc
Rasterizer.setBackgroundColor
set Background Color (rgb)
Rasterizer.setMistColor
set Mist Color (rgb)
Rasterizer.setMistEnd
set Mist End(rgb)
Rasterizer.setMistStart
set Mist Start(rgb)
Rasterizer.setMousePosition
setMousePosition(int x,int y)
Rasterizer.showMouse
showMouse(bool visible)
1