Skip to content

Commit f7ebc4f

Browse files
committed
layers
1 parent 3311b8c commit f7ebc4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pg/inputPixelEditor/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ There are currently 5 differnet layer types.
140140
- `path` - pixels
141141
- `reference`
142142
- `id` - uuid of frame
143-
- `x`
144-
- `y`
145-
- `pattern` - Repeat an existing frame (with optional offset x/y)
143+
- `position: [x, y]`
144+
- `pattern` - Repeat an existing frame
146145
- `path` - pixels
147146
- `id` - uuid of frame
147+
- `offset [x, y]` - offset pattern
148148
- `linear` - Linear gradient.
149149
- `start: [x, y]`
150150
- `end: [x, y]`
@@ -155,4 +155,4 @@ There are currently 5 differnet layer types.
155155
- `end: [x, y]`
156156
- `transform: [1, 0, 0, 0.5, 0, 0]` to create ellipses
157157
- `stops: [[stop, colorIndex], [stop, colorIndex]]`
158-
- `dither: 'bayer4' | 'bayer8', 'bayer16'`
158+
- `dither: 'bayer4' | 'bayer8' | 'bayer16'`

0 commit comments

Comments
 (0)