Title: blendMode(REPLACE): the new color alpha is in fact utilized · Issue #871 · processing/processing-docs · GitHub
Open Graph Title: blendMode(REPLACE): the new color alpha is in fact utilized · Issue #871 · processing/processing-docs
X Title: blendMode(REPLACE): the new color alpha is in fact utilized · Issue #871 · processing/processing-docs
Description: Issue description The reference on blendMode() says: REPLACE - the pixels entirely replace the others and don't utilize alpha (transparency) values This is confusing to me, it feels like I cannot set alpha to 0 with it because the new al...
Open Graph Description: Issue description The reference on blendMode() says: REPLACE - the pixels entirely replace the others and don't utilize alpha (transparency) values This is confusing to me, it feels like I cannot s...
X Description: Issue description The reference on blendMode() says: REPLACE - the pixels entirely replace the others and don't utilize alpha (transparency) values This is confusing to me, it feels like I cann...
Opengraph URL: https://github.com/processing/processing-docs/issues/871
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"blendMode(REPLACE): the new color alpha is in fact utilized","articleBody":"### Issue description\r\nThe reference on blendMode() says:\r\n\u003e REPLACE - the pixels entirely replace the others and don't utilize alpha (transparency) values\r\n\r\nThis is confusing to me, it feels like I cannot set alpha to 0 with it because the new alpha values would not be utilized according to the reference (?), but in fact I can set alpha to 0 with it. This is the desired REPLACE behavior in my opinion, it's only the reference that is confusing me. I can understand the original pixel alpha not being utilized when completely replaced, but the reference makes it seem the new alpha will not be used either.\r\n\r\nThis behavior is demonstrated here with fill(0,0) and stroke(0,0) on a foreground canvas to reveal an underlying image:\r\nhttps://gist.github.com/KrabCode/0335de613bbef231e7ec95ac6b60bf8f\r\n\r\n### URL(s) of affected page(s)\r\nhttps://processing.org/reference/blendMode_.html\r\n\r\n### Proposed fix\r\n\r\n\u003e REPLACE - the pixels entirely replace the others and don't utilize alpha (transparency) values of the original\r\n","author":{"url":"https://github.com/KrabCode","@type":"Person","name":"KrabCode"},"datePublished":"2023-12-15T23:36:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/871/processing-docs/issues/871"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3df320da-605c-cc66-1eb7-223a012cc6d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC14:69CA6:29C83B0:381ABEB:69704F1C |
| html-safe-nonce | 9b5262985f4db55497336965767811a68a802c6ca5f00022be81b2f559b0a86b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzE0OjY5Q0E2OjI5QzgzQjA6MzgxQUJFQjo2OTcwNEYxQyIsInZpc2l0b3JfaWQiOiI3NTEyOTY1MDE1OTQ2Njc4MDQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a64e280059d00e9d1e98c583f72742d504223e19b840a06a4d192695414b6d5 |
| hovercard-subject-tag | issue:2044494453 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing-docs/871/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a06633acc7f2422d5b6e912503a0497666c17622ef0f8572a73b3ca9730556e6/processing/processing-docs/issues/871 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a06633acc7f2422d5b6e912503a0497666c17622ef0f8572a73b3ca9730556e6/processing/processing-docs/issues/871 |
| og:image:alt | Issue description The reference on blendMode() says: REPLACE - the pixels entirely replace the others and don't utilize alpha (transparency) values This is confusing to me, it feels like I cannot s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KrabCode |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing-docs git https://github.com/processing/processing-docs.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 20665349 |
| octolytics-dimension-repository_nwo | processing/processing-docs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20665349 |
| octolytics-dimension-repository_network_root_nwo | processing/processing-docs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width