Write/Read Masks #67
Answered
by
tocsoft
Tylertron1998
asked this question in
Q&A
|
How does one achieve write/read masks using your api? |
Answered by
tocsoft
Jul 10, 2020
Replies: 2 comments 3 replies
|
@Tylertron1998 can you be more specific? This can mean many things for me. |
1 reply
|
This isn't directly possible in our current API, however you could adapt the techniques from one of our samples (linked below) where you can make use of the Process is roughly;
Working sample applying a Gaussian Blur to only the inside of a Star |
2 replies
Answer selected by
Tylertron1998
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't directly possible in our current API, however you could adapt the techniques from one of our samples (linked below) where you can make use of the
ImageBrushto fill a shape of your choosing with the image/effect you want to apply.Process is roughly;
IPaththat represents your desired region.IPath.Boundsof your region.IPathusing anImageBrushtaking your now cropped src in its constructor.