Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update image.md with information about support for blend modes #599

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/reference/controls/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ The image can display raster images from a specified image source. The source ca

Images can be used to compose the content of another control. For example, you can create a graphical button using image controls.

The image can be rendered in a few different blend modes, which changes the way the image interacts with what's behind it. see the [reference](https://reference.avaloniaui.net/api/Avalonia.Visuals.Media.Imaging/BitmapBlendingMode/) page for a list of all supported blend modes. See the [Wikipedia page](https://en.wikipedia.org/wiki/Blend_modes) on blend modes for examples of how they work.

The image displayed can be resized and scaled. The default settings for scaling (uniform stretch in both directions) will result in the image being fitted to the size (width and/or height) given.

:::info
Expand Down