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.cr

Enum Members

Level2 = 0

The language level 2 of the PostScript specification.

Level3 = 1

The language level 3 of the PostScript specification.

Instance Method Summary

Instance Method Detail

def level2? #

[View source]
def level3? #

[View source]
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.


[View source]