Sympli Photoshop
Unique layer id
sequential layer index
folder with layers
Artboard bounds within the document.
offset in percentUnits with values 0…100
Position of the text shape relative to the text box or text start point.
Not sure if we can have more than 1 shape per layer.
It’s transformation matrix. Google it for more details.
x-scale
y-scale
x-skew
y-skew
translation (position) of x
translation (position) of y
Really in photoshop there are many kinds of color modes. Currently we support RGB only. Each component might be fractional number.
Keep in mind that if default fonts size is in px then all points values will be numbers.
Name of current font face. It’s part of the font intself.
Font size in pointsUnit.
pointsUnit
pointsUnit
pointsUnit
usually 1
Check nested types (SolidFill, GradientFill and pattern fill) for additional details.
satin
stroke, if set frameFXMulti is null.
Multiple stroke. If set frameFX is null.
solid fill
Multiple solid fill
Blending mode
Indicates whether fx is enabled or not.
Effect opacity in percentUnit 0…100
Preset name or user defined name
Type of gradient stops. Always customStops
Always 4096. Stops is collection if stop points which have values from 0 to interfaceIconFrameDimmed.
Location is value between 0 and interfaceIconFrameDimmed (always 4096)
Midpoint is “strength” from 0 to 100. By defailt it’s 50. It means that interpolation is normal.
Opacity in “percentUnit” 0…100
Usually it’s userStop. Never saw anything else.
Gradient type. Reflected - is double side linear gradient.
Units = angleUnit
units = percentUnit
align to the layer
in percentUnit
control points can have values from 0 to 255
Examples
Simple linear gradient for shadow
{
"name": "Linear",
"curve": [
{
"horizontal": 0,
"vertical": 0
},
{
"horizontal": 255,
"vertical": 255
}
}
percentUnit
angleUnit
percentUnit
check ShadowTransferSpec
Indent of the first line
left margin
right margin
space before the paragraph
space after the paragraph
Indent of the first line recalculated using transformation matrix
left margin recalculated using transformation matrix
right margin recalculated using transformation matrix
space before the paragraph recalculated using transformation matrix
space after the paragraph recalculated using transformation matrix
Depending on char value object can be extended with TextShapeBox, TextShapePaint or TextShapeCurve
stands for text box
just simple text without box
text on a curve
pointsUnit
pointsUnit
pointsUnit
pointsUnit