You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/README.md
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ The following gradient types are supported:
147
147
148
148
#### EyeColor `(int $eyeNumber, int $innerRed, int $innerGreen, int $innerBlue, int $outterRed = 0, int $outterGreen = 0, int $outterBlue = 0)`
149
149
150
-
You may change the eye colors by using the `eyeColor` method. Example:
150
+
You may change the eye colors by using the `eyeColor` method.
151
151
152
152
| Eye Number | Example |
153
153
| --- | --- |
@@ -158,7 +158,7 @@ You may change the eye colors by using the `eyeColor` method. Example:
158
158
159
159
#### Style `(string $style, float $size = 0.5)`
160
160
161
-
The style can be easily swapped out with `square.``dot,` or `round.` This will change the blocks within the QrCode. The second parameter will affect the size of the dots or roundness. Example:
161
+
The style can be easily swapped out with `square.``dot,` or `round.` This will change the blocks within the QrCode. The second parameter will affect the size of the dots or roundness.
162
162
163
163
| Style | Example |
164
164
| --- | --- |
@@ -168,20 +168,20 @@ The style can be easily swapped out with `square.` `dot,` or `round.` This will
168
168
169
169
#### Eye Style `(string $style)`
170
170
171
-
The eye within the QrCode supports two different styles, `dot` and `circle.` Example:
171
+
The eye within the QrCode supports two different styles, `sqaure` and `circle.`
172
172
173
173
| Style | Example |
174
174
| --- | --- |
175
175
|`sqaure`||
176
176
|`circle`||
177
177
178
-
#### Margin
178
+
#### Margin `(int $margin)`
179
179
180
180
The ability to change the margin around a QrCode is also supported. Simply specify the desired margin using the following syntax:
181
181
182
182
QrCode::margin(100);
183
183
184
-
#### Error Correction
184
+
#### Error Correction`(string $errorCorrection)`
185
185
186
186
Changing the level of error correction is easy. Just use the following syntax:
187
187
@@ -196,9 +196,9 @@ The following are supported options for the `errorCorrection` method:
196
196
| Q | 25% of codewords can be restored. |
197
197
| H | 30% of codewords can be restored. |
198
198
199
-
>The more error corrections used; the bigger the QrCode becomes and the less data it can store. Read more about [error correction](http://en.wikipedia.org/wiki/QR_code#Error_correction).
199
+
>The more error correction used; the bigger the QrCode becomes and the less data it can store. Read more about [error correction](http://en.wikipedia.org/wiki/QR_code#Error_correction).
200
200
201
-
#### Encoding
201
+
#### Encoding`(string $encoding)`
202
202
203
203
Change the character encoding that is used to build a QrCode. By default `ISO-8859-1` is selected as the encoder. Read more about [character encoding](http://en.wikipedia.org/wiki/Character_encoding) You can change this to any of the following:
204
204
@@ -233,12 +233,10 @@ Change the character encoding that is used to build a QrCode. By default `ISO-8
The `mergeString` method can be used to achieve the same as the `merge` call, except it allows you to provide a string representation of the file instead of the filepath. This is usefull when working with the `Storage` facade. It's interface is quite similar to the `merge` call.
0 commit comments