enum Cairo::PsLevel
Overview
Describes the language level of the PostScript Language Reference that a generated PostScript file will conform to.
Defined in:
cairo/ps_level.crEnum Members
-
Level2 =
0
-
The language level 2 of the PostScript specification.
-
Level3 =
1
-
The language level 3 of the PostScript specification.
Instance Method Summary
- #level2?
- #level3?
-
#to_string : String
Get the string representation of the given level id.
Instance Method Detail
def to_string : String
#
Get the string representation of the given level id.
This function will return empty string if level id isn't valid.
See PsSurface#levels
for a way to get the list of valid level ids.
###Returns The string associated to given level.