![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Product Manuals » Elevate Web Builder 3 Manual » Component Reference » TCompositeOperation |
TCompositeOperation = (coSourceOver,coSourceOnTop,coSourceIn, coSourceOut, coDestOnTop,coDestIn,coDestOut,coDestOver, coLighter,coXOR,coCopy)
Element | Description |
coCopy | Draw the source pixel, ignoring the destination pixel. |
coDestIn | Multiply the destination pixel by the opacity of the source pixel, but ignore the color of the source pixel. |
coDestOnTop | Draw the source pixel underneath the destination pixel. If the source pixel is transparent, then the resulting pixel will also be transparent. |
coDestOut | The destination pixel becomes transparent if the source pixel is opaque, and is not changed if the source pixel is transparent. The color of the source pixel is ignored. |
coDestOver | The source pixel will appear behind the destination pixel, and shows based upon the transparency of the destination pixel. |
coLighter | The colors of the source and destination pixels are added together and truncated by the maximum color value possible. |
coSourceIn | Draw the source pixel, but multiply it by the opacity of the destination pixel. The color of the destination pixel is ignored, but if the destination pixel is transparent, then the resulting pixel will be also be transparent. |
coSourceOnTop | Draw the source pixel on top of the destination, but multiply it by the opacity of the desination pixel. If the destination pixel is transparent, then nothing is drawn. |
coSourceOut | The resulting pixel is the source pixel when the destination pixel is transparent, and a transparent pixel when the destination pixel is opaque. The color of the destination pixel is ignored. |
coSourceOver | The source pixel is drawn on top of the destination pixel. If the source pixel is partially-transparent, then the destination pixel is included to draw the resulting pixel. This is the default type of composite operation for canvas drawing. |
coXOR | If the source pixel is transparent, then the resulting pixel is the destination pixel. If the destination pixel is transparent, then the resulting pixel is the source pixel. If both the source and destination pixels are transparent or opaque, then the resulting pixel will be transparent. |
This web page was last updated on Tuesday, April 23, 2024 at 09:24 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |