Class: TextElements

Defined in: lib/psd/layer_info/typetool.coffee
Inherits: LayerInfo

Class Method Summary

Instance Method Summary

Inherited Method Summary

Methods inherited from LayerInfo

#skip #parse

Class Method Details

. (void) shouldParse(key)

Constructor Details

# (void) constructor(layer, length)

Instance Method Details

# (void) parse()

# (void) parseTransformInfo()

# (void) fonts()

# (void) sizes()

# (void) alignment()

# (void) colors()

Return all colors used for text in this layer. The colors are returned in RGBA format as an array of arrays.

# (void) styles()

# (void) toCSS()

Creates the CSS string and returns it. Each property is newline separated and not all properties may be present depending on the document.

Colors are returned in rgba() format and fonts may include some internal Photoshop fonts.

# (void) export()

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: