Skip to content

Commit

Permalink
minor documentation improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
hx2A committed Aug 2, 2021
1 parent 135c5f5 commit 0a80f33
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions py5_docs/Reference/api_en/Py5Graphics_blend.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Blends a region of pixels from one image into another (or in itself again) with
* DARKEST: only the darkest color succeeds: ``C = min(A*factor, B)``
* LIGHTEST: only the lightest color succeeds: ``C = max(A*factor, B)``
* DIFFERENCE: subtract colors from underlying image.
* EXCLUSION: similar to ``DIFFERENCE``, but less extreme.
* EXCLUSION: similar to DIFFERENCE, but less extreme.
* MULTIPLY: Multiply the colors, result will always be darker.
* SCREEN: Opposite multiply, uses inverse values of the colors.
* OVERLAY: A mix of ``MULTIPLY`` and SCREEN. Multiplies dark values, and screens light values.
* HARD_LIGHT: ``SCREEN`` when greater than 50% gray, ``MULTIPLY`` when lower.
* SOFT_LIGHT: Mix of ``DARKEST`` and LIGHTEST. Works like ``OVERLAY``, but not as harsh.
* OVERLAY: A mix of MULTIPLY and SCREEN. Multiplies dark values, and screens light values.
* HARD_LIGHT: SCREEN when greater than 50% gray, MULTIPLY when lower.
* SOFT_LIGHT: Mix of DARKEST and LIGHTEST. Works like OVERLAY, but not as harsh.
* DODGE: Lightens light tones and increases contrast, ignores darks. Called "Color Dodge" in Illustrator and Photoshop.
* BURN: Darker areas are applied, increasing contrast, ignores lights. Called "Color Burn" in Illustrator and Photoshop.

Expand Down
2 changes: 1 addition & 1 deletion py5_docs/Reference/api_en/Py5Graphics_blend_mode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Blends the pixels in the Py5Graphics drawing surface according to a defined mode
* DARKEST: only the darkest color succeeds: ``C = min(A*factor, B)``
* LIGHTEST: only the lightest color succeeds: ``C = max(A*factor, B)``
* DIFFERENCE: subtract colors from underlying image.
* EXCLUSION: similar to ``DIFFERENCE``, but less extreme.
* EXCLUSION: similar to DIFFERENCE, but less extreme.
* MULTIPLY: multiply the colors, result will always be darker.
* SCREEN: opposite multiply, uses inverse values of the colors.
* REPLACE: the pixels entirely replace the others and don't utilize alpha (transparency) values
Expand Down
8 changes: 4 additions & 4 deletions py5_docs/Reference/api_en/Py5Image_blend.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Blends a region of pixels into the image specified by the ``img`` parameter. The
* DARKEST: only the darkest colour succeeds: ``C = min(A*factor, B)``
* LIGHTEST: only the lightest colour succeeds: ``C = max(A*factor, B)``
* DIFFERENCE: subtract colors from underlying image.
* EXCLUSION: similar to ``DIFFERENCE``, but less extreme.
* EXCLUSION: similar to DIFFERENCE, but less extreme.
* MULTIPLY: Multiply the colors, result will always be darker.
* SCREEN: Opposite multiply, uses inverse values of the colors.
* OVERLAY: A mix of ``MULTIPLY`` and ``SCREEN``. Multiplies dark values, and screens light values.
* HARD_LIGHT: ``SCREEN`` when greater than 50% gray, ``MULTIPLY`` when lower.
* SOFT_LIGHT: Mix of ``DARKEST`` and ``LIGHTEST``. Works like ``OVERLAY``, but not as harsh.
* OVERLAY: A mix of MULTIPLY and SCREEN. Multiplies dark values, and screens light values.
* HARD_LIGHT: SCREEN when greater than 50% gray, MULTIPLY when lower.
* SOFT_LIGHT: Mix of DARKEST and LIGHTEST. Works like OVERLAY, but not as harsh.
* DODGE: Lightens light tones and increases contrast, ignores darks. Called "Color Dodge" in Illustrator and Photoshop.
* BURN: Darker areas are applied, increasing contrast, ignores lights. Called "Color Burn" in Illustrator and Photoshop.

Expand Down
8 changes: 4 additions & 4 deletions py5_docs/Reference/api_en/Sketch_blend.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Blends a region of pixels from one image into another (or in itself again) with
* DARKEST: only the darkest color succeeds: ``C = min(A*factor, B)``
* LIGHTEST: only the lightest color succeeds: ``C = max(A*factor, B)``
* DIFFERENCE: subtract colors from underlying image.
* EXCLUSION: similar to ``DIFFERENCE``, but less extreme.
* EXCLUSION: similar to DIFFERENCE, but less extreme.
* MULTIPLY: Multiply the colors, result will always be darker.
* SCREEN: Opposite multiply, uses inverse values of the colors.
* OVERLAY: A mix of ``MULTIPLY`` and SCREEN. Multiplies dark values, and screens light values.
* HARD_LIGHT: ``SCREEN`` when greater than 50% gray, ``MULTIPLY`` when lower.
* SOFT_LIGHT: Mix of ``DARKEST`` and LIGHTEST. Works like ``OVERLAY``, but not as harsh.
* OVERLAY: A mix of MULTIPLY and SCREEN. Multiplies dark values, and screens light values.
* HARD_LIGHT: SCREEN when greater than 50% gray, MULTIPLY when lower.
* SOFT_LIGHT: Mix of DARKEST and LIGHTEST. Works like OVERLAY, but not as harsh.
* DODGE: Lightens light tones and increases contrast, ignores darks. Called "Color Dodge" in Illustrator and Photoshop.
* BURN: Darker areas are applied, increasing contrast, ignores lights. Called "Color Burn" in Illustrator and Photoshop.

Expand Down
2 changes: 1 addition & 1 deletion py5_docs/Reference/api_en/Sketch_blend_mode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Blends the pixels in the display window according to a defined mode. There is a
* DARKEST: only the darkest color succeeds: ``C = min(A*factor, B)``
* LIGHTEST: only the lightest color succeeds: ``C = max(A*factor, B)``
* DIFFERENCE: subtract colors from underlying image.
* EXCLUSION: similar to ``DIFFERENCE``, but less extreme.
* EXCLUSION: similar to DIFFERENCE, but less extreme.
* MULTIPLY: multiply the colors, result will always be darker.
* SCREEN: opposite multiply, uses inverse values of the colors.
* REPLACE: the pixels entirely replace the others and don't utilize alpha (transparency) values
Expand Down

0 comments on commit 0a80f33

Please sign in to comment.